Skip to content
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

Dataset and Action Object Deletion APIs #9004

Merged
merged 48 commits into from
Jul 18, 2024

Conversation

khoaguin
Copy link
Member

@khoaguin khoaguin commented Jul 2, 2024

This PR closes this issue and this issue. Should be merged after this PR.

  • Delete the blob storage entry for an action object if exists
  • Delete the asset action objects and corresponding blob storage entries for a dataset, not just the dataset object itself
  • Tests to check if deleting datasets and action objects works (all storage is wiped accordingly)
  • Test if syncing still works after a dataset being referenced was deleted:
    Make a high and low side. Then if we delete a dataset on the high side, check if all a syncing functionalities still work and report everything broken to add new ticket if it breaks (not within scope)

@khoaguin khoaguin self-assigned this Jul 2, 2024
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@khoaguin khoaguin changed the title [WIP] Dataset and Action Object Deletion APIs Dataset and Action Object Deletion APIs Jul 4, 2024
@khoaguin khoaguin requested a review from shubham3121 July 4, 2024 07:31
Copy link
Member

@shubham3121 shubham3121 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@khoaguin left some minor comments.

packages/syft/src/syft/service/dataset/dataset.py Outdated Show resolved Hide resolved
Copy link
Member

@shubham3121 shubham3121 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work @khoaguin !!

@shubham3121 shubham3121 merged commit c06ec74 into OpenMined:dev Jul 18, 2024
24 checks passed
@khoaguin khoaguin deleted the dataset-actionobj-delete-apis branch July 22, 2024 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants