We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dcce7b commit f58ba84Copy full SHA for f58ba84
1 file changed
ayon_api/_api_helpers/projects.py
@@ -712,6 +712,9 @@ def _get_project_graphql_fields(
712
fields.discard(field)
713
add_all_attrib = True
714
715
+ if add_all_attrib:
716
+ graphql_fields.add("allAttrib")
717
+
718
# NOTE 'config' in GraphQl is NOT the same as from REST api.
719
# - At the moment of this comment there is missing 'productBaseTypes'.
720
inters = fields & {
@@ -725,8 +728,6 @@ def _get_project_graphql_fields(
725
728
remainders = fields - (inters | graphql_fields)
726
729
if not remainders:
727
730
graphql_fields |= inters
- if add_all_attrib:
- graphql_fields.add("allAttrib")
731
return graphql_fields, ProjectFetchType.GraphQl
732
733
if must_use_graphql:
0 commit comments