@@ -401,8 +401,10 @@ def test_delete_api_object(
401
401
def test_read_deleted_api_object (
402
402
client : AtlanClient , connection : Connection , api_object_overload : APIObject
403
403
):
404
- deleted = client .asset .get_by_guid (
405
- api_object_overload .guid , asset_type = APIObject , ignore_relationships = False
404
+ # Running get_by_qualified_name with attributes to use FluentSearch behind the scenes
405
+ assert api_object_overload .qualified_name
406
+ deleted = client .asset .get_by_qualified_name (
407
+ api_object_overload .qualified_name , asset_type = APIObject , attributes = ["name" ]
406
408
)
407
409
assert deleted
408
410
assert deleted .guid == api_object_overload .guid
@@ -639,8 +641,9 @@ def test_delete_api_query(
639
641
def test_read_deleted_api_query (
640
642
client : AtlanClient , connection : Connection , api_query_overload_3 : APIQuery
641
643
):
644
+ # Running get_by_guid with attributes to use FluentSearch behind the scenes
642
645
deleted = client .asset .get_by_guid (
643
- api_query_overload_3 .guid , asset_type = APIQuery , ignore_relationships = False
646
+ api_query_overload_3 .guid , asset_type = APIQuery , attributes = [ "name" ]
644
647
)
645
648
assert deleted
646
649
assert deleted .guid == api_query_overload_3 .guid
0 commit comments