-
Notifications
You must be signed in to change notification settings - Fork 31
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
Fix/enable-handle-fs-connector #456
Conversation
…oogle-drive-azure-cloud
…oogle-drive-azure-cloud
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.
Changes look good for the most part, however do confirm if this requires any migration to avoid regressions on removing the parameters. I believe we persist these details in the DB
@chandrasekharan-zipstack I believe we are storing as json in |
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.
@kirtimanmishrazipstack Overall LGTM. But Please try to move the functions or methods that related to specific connectors in to their own classes or their base classes
Yes I beleive so.It will not affect anything if it not used anywhere. |
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.
@kirtimanmishrazipstack I have only one comment. Other than that it looks fine.
But please make sure to address comments from @muhammad-ali-e before merging
unstract/connectors/src/unstract/connectors/filesystems/zs_dropbox/zs_dropbox.py
Show resolved
Hide resolved
unstract/connectors/src/unstract/connectors/filesystems/minio/static/json_schema.json
Show resolved
Hide resolved
unstract/connectors/src/unstract/connectors/filesystems/unstract_file_system.py
Show resolved
Hide resolved
unstract/connectors/src/unstract/connectors/filesystems/google_drive/google_drive.py
Show resolved
Hide resolved
unstract/connectors/src/unstract/connectors/filesystems/google_drive/google_drive.py
Show resolved
Hide resolved
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.
LGTM, Please ensure thorough testing with both new and existing connectors.
|
|
What
Why
Dropbox
,minio
,GCS
,Azure FS
will always overwrite the file if present. Where asGdrive
always creates a new file if already present. So this param is not needed in destination connectorHow
backend/workflow_manager/endpoint/source.py
andbackend/workflow_manager/endpoint/destination.py
to comprehend all unstract fs connectorunstract/connectors/filesystems/minio/minio.py
backend/workflow_manager/endpoint/static/dest/file.json
to remove overwrite from destination connectorCan 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)
Database Migrations
Env Config
Relevant Docs
Related Issues or PRs
Dependencies Versions
Notes on Testing
source
anddestination
on workflowScreenshots
Checklist
I have read and understood the Contribution Guidelines.