This commit is contained in:
iLLiCiTiT 2020-12-23 13:57:08 +01:00
parent 5cc1c01fc2
commit c7d02eed81
3 changed files with 5 additions and 5 deletions

View file

@ -115,7 +115,7 @@ class PushHierValuesToNonHier(ServerAction):
job["status"] = "failed"
session.commit()
def attrs_configurations(self, session, object_ids, interest_attributess):
def attrs_configurations(self, session, object_ids, interest_attributes):
attrs = session.query(self.cust_attrs_query.format(
self.join_query_keys(interest_attributes),
self.join_query_keys(object_ids)
@ -169,10 +169,10 @@ class PushHierValuesToNonHier(ServerAction):
for obj_type in destination_object_types
)
interest_attributess = action_settings["interest_attributess"]
interest_attributes = action_settings["interest_attributes"]
# Find custom attributes definitions
attrs_by_obj_id, hier_attrs = self.attrs_configurations(
session, destination_object_type_ids, interest_attributess
session, destination_object_type_ids, interest_attributes
)
# Filter destination object types if they have any object specific
# custom attribute

View file

@ -15,7 +15,7 @@
"Shot",
"Asset Build"
],
"interest_attributess": [
"interest_attributes": [
"frameStart",
"frameEnd"
],

View file

@ -81,7 +81,7 @@
},
{
"type": "list",
"key": "interest_attributess",
"key": "interest_attributes",
"label": "Attributes to sync",
"object_type": {
"type": "text",