-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import enhancements for EnvHelper #1061
base: main
Are you sure you want to change the base?
Conversation
@@ -5,9 +5,8 @@ | |||
from typing import Any, Union | |||
|
|||
from file_management.file_management_helper import FileManagerHelper | |||
from unstract.sdk.file_storage import FileStorage | |||
from unstract.sdk.file_storage import EnvHelper, FileStorage |
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.
Does this also need to go under feature flag?
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.
@gaya3-zipstack Will that be an issue, since this is SDK reference and the class is present in the RC version?
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.
The reason to keep it under a feature flag is to import the classes only when required. If the class is required only when feature flag is turned on, then it is better to wrap the import also accordingly @harini-venkataraman
@@ -55,9 +55,8 @@ | |||
from prompt_studio.prompt_studio_v2.models import ToolStudioPrompt | |||
from unstract.sdk.constants import LogLevel | |||
from unstract.sdk.exceptions import IndexingError, SdkError | |||
from unstract.sdk.file_storage import FileStorage, FileStorageProvider | |||
from unstract.sdk.file_storage import EnvHelper, FileStorage, FileStorageProvider |
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.
Under feature flag check?
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.
Quality Gate passedIssues Measures |
|
What
Import enhancements for EnvHelper
...
Why
Making the import irrespective of file name change.
...
How
Can this PR break any existing features. If yes, please list possible items. If no, please explain why. (PS: Admins do not merge the PR without this section filled)
No, these are import enhancements and no logical change
...
Database Migrations
Env Config
Relevant Docs
Related Issues or PRs
Dependencies Versions
Notes on Testing
Screenshots
Checklist
I have read and understood the Contribution Guidelines.