mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #418 from pypeclub/feature/ftrack_group_is_bcw_compatible
Feature/ftrack group is bcw compatible
This commit is contained in:
commit
6f1b3ff5c6
1 changed files with 2 additions and 1 deletions
|
|
@ -81,10 +81,11 @@ def check_regex(name, entity_type, in_schema=None, schema_patterns=None):
|
|||
def get_pype_attr(session, split_hierarchical=True):
|
||||
custom_attributes = []
|
||||
hier_custom_attributes = []
|
||||
# TODO remove deprecated "avalon" group from query
|
||||
cust_attrs_query = (
|
||||
"select id, entity_type, object_type_id, is_hierarchical, default"
|
||||
" from CustomAttributeConfiguration"
|
||||
" where group.name = \"{}\""
|
||||
" where group.name in (\"{}\", \"avalon\")"
|
||||
).format(CUST_ATTR_GROUP)
|
||||
all_avalon_attr = session.query(cust_attrs_query).all()
|
||||
for cust_attr in all_avalon_attr:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue