Chore: AYON query functions arguments (#5752)

* fixe get subsets to work as in mongo api

* fixe get assets to work as in mongo api
This commit is contained in:
Jakub Trllo 2023-10-12 14:43:09 +02:00 committed by GitHub
parent 38427b5eec
commit 73a88419d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,9 +75,9 @@ def _get_subsets(
):
fields.add(key)
active = None
active = True
if archived:
active = False
active = None
for subset in con.get_products(
project_name,
@ -196,7 +196,7 @@ def get_assets(
active = True
if archived:
active = False
active = None
con = get_server_api_connection()
fields = folder_fields_v3_to_v4(fields, con)