Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dts_validator/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ def get_resource_recursively(collection : DTS_Collection, dts_client : DTS_API)
if isinstance(collection, DTS_Resource):
return collection
else:
resource = None
for child in collection.children:
if isinstance(child, DTS_Resource):
resource = child
Expand All @@ -295,4 +296,4 @@ def get_collections_recursively(collection, dts_client):
for member in collection._json['member']
]
else:
return collection
return collection
Loading