-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor
DataChain.from_storage()
to use new listing generator (#294)
* added generator to list a bucket * added test for async to sync generator and fixing listing * fix tests * fix comments * first version of from_storage without deprecated listing * first version of from_storage without deprecated listing * fixing tests and removing prints, refactoring * fix listing generator output type * fix linter * fix docs * fixing test * fix list bucket args * refactoring listing static methods * fixing non recursive queries * refactoring * fixing listing generator tests * added partial test * using ctc in test session * moved listing functions to separated file * added listing unit tests * fixing json * fixing examples * fix file signal type from storage * fixing example * refactoring ls function * added more tests and fixed comments * fixing test * fix test name * fixing windows tests * returning to all tests * removed constants from dc.py * added ticket number * couple of fixes from PR review * added new method is_dataset_listing and assertions * refactoring listing code * added session on cloud test catalog and refactoring tests * added uses glob util * extracted partial with update to separate test * returning Column from db_signals method * import directly from datachain * changed boolean functions with prefix is_ * removed kwargs from from_storage * removed kwargs from datasets method * refactoring parsing listing dataset name * Update src/datachain/lib/file.py Co-authored-by: Ronan Lamy <[email protected]> * removed client config * removed kwargs from from_records * fixing comment * fixing new test * fixing listing --------- Co-authored-by: Ronan Lamy <[email protected]> Co-authored-by: ivan <[email protected]>
- Loading branch information
1 parent
12ddf7b
commit bd52a96
Showing
22 changed files
with
501 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.