Passing entity properly on deletion (#4436)

Query filter use platform property properly if paltform instance specified
This commit is contained in:
Tamas Nemeth 2022-03-18 12:30:41 +01:00 committed by GitHub
parent 60925e3e8c
commit 430ca10c15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -315,6 +315,7 @@ def get_urns_by_filter(
and entity_type == "dataset"
or entity_type == "dataflow"
or entity_type == "datajob"
or entity_type == "container"
):
filter_criteria.append(
{

View File

@ -228,6 +228,7 @@ def delete_with_filters(
one_result = _delete_one_urn(
urn,
soft=soft,
entity_type=entity_type,
dry_run=dry_run,
cached_session_host=(session, gms_host),
cached_emitter=emitter,