-
Notifications
You must be signed in to change notification settings - Fork 245
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,8 @@ | |
from typing import Any | ||
|
||
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 commentThe 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 commentThe 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 commentThe 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 |
||
from unstract.sdk.file_storage.constants import StorageType | ||
from unstract.sdk.file_storage.env_helper import EnvHelper | ||
from utils.file_storage.constants import FileStorageConstants, FileStorageKeys | ||
|
||
from unstract.core.utilities import UnstractUtils | ||
|
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.
#1061 (comment)