-
Notifications
You must be signed in to change notification settings - Fork 19
ENG-1551 ai xplain sdk caching onboarded models pipelines and agents #389
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ENG-1551 ai xplain sdk caching onboarded models pipelines and agents #389
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xainaz Thanks for the PR!
I have a main issue with the current iplementation. We have separate cache methods for models, pipelines and agents. This will make very hard for us to make any change in future. Having all into one class named AixplainCache object that has more modular desigh such that the utils methods and all repetitive methods for different asset types should be part of this class.
Can you please redesign your codebase if this make sense to you. Otherwise we can discuss to find a way to make it more modular .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xainaz Can you please add functional test for it? i approved the rest.
…ded-models-pipelines-and-agents
…ded-models-pipelines-and-agents
…lain-sdk-caching-onboarded-models-pipelines-and-agents
Also added file lock, global expiry time in seconds is configurable as an environmental variable.