We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f58ba84 commit cc2e099Copy full SHA for cc2e099
1 file changed
ayon_api/_api_helpers/attributes.py
@@ -147,10 +147,18 @@ def get_attributes_fields_for_type(
147
) -> set[str]:
148
"""Prepare attribute fields for entity type.
149
150
+ DEPRECATED: Field 'attrib' is marked as deprecated and should not be
151
+ used for GraphQL queries.
152
+
153
Returns:
154
set[str]: Attributes fields for entity type.
155
156
"""
157
+ self.log.warning(
158
+ "Method 'get_attributes_fields_for_type' is deprecated and should"
159
+ " not be used for GraphQL queries. Use 'allAttrib' field instead"
160
+ " of 'attrib'."
161
+ )
162
attributes = self.get_attributes_for_type(entity_type)
163
return {
164
f"attrib.{attr}"
0 commit comments