mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
defined constants in ftrack lib
This commit is contained in:
parent
29d582c47e
commit
0ec066af7e
2 changed files with 25 additions and 0 deletions
|
|
@ -1,3 +1,10 @@
|
|||
from .constants import (
|
||||
CUST_ATTR_ID_KEY,
|
||||
CUST_ATTR_AUTO_SYNC,
|
||||
CUST_ATTR_GROUP,
|
||||
CUST_ATTR_TOOLS,
|
||||
CUST_ATTR_APPLICATIONS
|
||||
)
|
||||
from . settings import (
|
||||
get_ftrack_url_from_settings,
|
||||
get_ftrack_event_mongo_info
|
||||
|
|
@ -10,6 +17,12 @@ from .ftrack_action_handler import BaseAction, ServerAction, statics_icon
|
|||
|
||||
|
||||
__all__ = (
|
||||
"CUST_ATTR_ID_KEY",
|
||||
"CUST_ATTR_AUTO_SYNC",
|
||||
"CUST_ATTR_GROUP",
|
||||
"CUST_ATTR_TOOLS",
|
||||
"CUST_ATTR_APPLICATIONS",
|
||||
|
||||
"get_ftrack_url_from_settings",
|
||||
"get_ftrack_event_mongo_info",
|
||||
|
||||
|
|
|
|||
12
openpype/modules/ftrack/lib/constants.py
Normal file
12
openpype/modules/ftrack/lib/constants.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Group name of custom attributes
|
||||
CUST_ATTR_GROUP = "openpype"
|
||||
|
||||
# name of Custom attribute that stores mongo_id from avalon db
|
||||
CUST_ATTR_ID_KEY = "avalon_mongo_id"
|
||||
# Auto sync of project
|
||||
CUST_ATTR_AUTO_SYNC = "avalon_auto_sync"
|
||||
|
||||
# Applications custom attribute name
|
||||
CUST_ATTR_APPLICATIONS = "applications"
|
||||
# Environment tools custom attribute
|
||||
CUST_ATTR_TOOLS = "tools_env"
|
||||
Loading…
Add table
Add a link
Reference in a new issue