-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
feat(ingest/cli): add undo soft delete command #11740
Conversation
Hello @anshbansal 😄 Thank you so much for opening a pull request!
|
urn=urn, run_id=run_id, deletion_timestamp=deletion_timestamp, delete=True | ||
) | ||
|
||
def change_soft_delete_status( |
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.
def change_soft_delete_status( | |
def set_soft_delete_status( |
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.
will incorporate
def change_soft_delete_status( | ||
self, | ||
urn: str, | ||
delete: bool, |
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.
delete: bool, | |
deleted: bool, |
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.
delete is correct here
@click.option("--urn", required=True, type=str, help="the urn of the entity") | ||
def undo_by_filter(urn: str) -> None: | ||
""" | ||
Allows to un-soft delete by filters |
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.
Allows to un-soft delete by filters | |
Undo a soft deletion of an entity. |
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.
will incorporate
OpenAPI ingestion failure is unrelated |
Checklist