mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
implemented join_query_keys
This commit is contained in:
parent
c110ed9aa0
commit
3a24a38afb
1 changed files with 6 additions and 0 deletions
|
|
@ -3,6 +3,12 @@ from pype.api import get_project_settings
|
|||
|
||||
|
||||
class VersionToTaskStatus(BaseEvent):
|
||||
# TODO remove `join_query_keys` as it should be in `BaseHandler`
|
||||
@staticmethod
|
||||
def join_query_keys(keys):
|
||||
"""Helper to join keys to query."""
|
||||
return ",".join(["\"{}\"".format(key) for key in keys])
|
||||
|
||||
def filter_entity_info(self, event):
|
||||
filtered_entity_info = []
|
||||
for entity in event["data"].get("entities", []):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue