-
Notifications
You must be signed in to change notification settings - Fork 105
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
Rename export_files to to_storage with cloud support #922
Conversation
Deploying datachain-documentation with
|
Latest commit: |
5cfb9b1
|
Status: | ✅ Deploy successful! |
Preview URL: | https://d60f6aa5.datachain-documentation.pages.dev |
Branch Preview URL: | https://amrit-rename-export-files.datachain-documentation.pages.dev |
04511f3
to
f918e39
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #922 +/- ##
=======================================
Coverage 87.66% 87.67%
=======================================
Files 130 130
Lines 11700 11708 +8
Branches 1592 1592
=======================================
+ Hits 10257 10265 +8
Misses 1043 1043
Partials 400 400
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
eac7935
to
1c81f79
Compare
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.
Looks good to me! ❤️
Just wonder if it will be a good idea to add example to the docs?
This renames the export files to to storage adding the support for the cloud destinations as well. With this change, the following code will work: ```py from datachain.lib.dc import DataChain ds = DataChain.from_storage("az://amrit-test-az/image.png") ds.save("az") ds.to_storage("gs://amrit-datachain-test/destination", placement="filename") ``` Closes #859
79efe68
to
415b73e
Compare
This renames the export files to to storage adding the support for the
cloud destinations as well.
With this change, the following code will work:
Closes #859