-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* simplify test * first delete, then create, when moving indeed: when a repo is moved, we surely want to remove the old entry, while the new one could be forbidden (private repo, for example) * refactor to simplify the logic the idea is to always use "operation.py", so that access control will be easier once we allow private datasets. * first pass * check if dataset is blocked in operations.py * fix import * add tests and fix bugs * fix types * simplify the e2e tests and fix the admin token * let unexpected exceptions bubble up * fix cookie + bugs in tests * refactor: remove DatasetOrchestrator wrapper, and simplify code * add logs and simplify logic * add e2e tests on private datasets * simplify code and fix e2e tests * fix admin + move comments in e2e tests * add e2e tests: private+gated, disabled viewer, disabled discussions, blocklist * fix types * add missing environment variables for e2e tests * change logic of backfill job: update all current datasets * remove assets/cached-assets when deleting a dataset * fix tests * fix quality * Update libs/libcommon/tests/test_operations.py Co-authored-by: Andrea Francis Soria Jimenez <[email protected]> * Update libs/libcommon/src/libcommon/operations.py Co-authored-by: Andrea Francis Soria Jimenez <[email protected]> --------- Co-authored-by: Andrea Francis Soria Jimenez <[email protected]>
- Loading branch information
1 parent
c48c011
commit 9d157f3
Showing
4 changed files
with
208 additions
and
19 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