mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
#1976 - added 'key'
This commit is contained in:
parent
3643b8e1bd
commit
2230d60ff4
2 changed files with 6 additions and 10 deletions
|
|
@ -120,6 +120,7 @@ class GDriveHandler(AbstractProvider):
|
|||
editable = [
|
||||
# credentials could be override on Project or User level
|
||||
{
|
||||
'key': "credentials_url",
|
||||
'label': "Credentials url",
|
||||
'type': 'text',
|
||||
'namespace': '{project_settings}/global/sync_server/sites/{site}/credentials_url/{platform}' # noqa: E501
|
||||
|
|
@ -127,6 +128,7 @@ class GDriveHandler(AbstractProvider):
|
|||
# roots could be override only on Project leve, User cannot
|
||||
#
|
||||
{
|
||||
'key': "roots",
|
||||
'label': "Roots",
|
||||
'type': 'dict'
|
||||
}
|
||||
|
|
@ -145,6 +147,7 @@ class GDriveHandler(AbstractProvider):
|
|||
editable = [
|
||||
# credentials could be override on Project or User level
|
||||
{
|
||||
'key': "credentials_url",
|
||||
'label': "Credentials url",
|
||||
'type': 'text',
|
||||
'namespace': '{project_settings}/global/sync_server/sites/{site}/credentials_url/{platform}'
|
||||
|
|
|
|||
|
|
@ -49,18 +49,10 @@ class LocalDriveHandler(AbstractProvider):
|
|||
Returns:
|
||||
(list) of dict
|
||||
"""
|
||||
# {platform} tells that value is multiplatform and only specific OS
|
||||
# should be returned
|
||||
# for non 'studio' sites, 'studio' is configured in Anatomy
|
||||
editable = [
|
||||
# credentials could be override on Project or User level
|
||||
{
|
||||
'label': "Credentials url",
|
||||
'type': 'text',
|
||||
'namespace': '{project_settings}/global/sync_server/sites/{site}/credentials_url/{platform}' # noqa: E501
|
||||
},
|
||||
# roots could be override only on Project leve, User cannot
|
||||
#
|
||||
{
|
||||
'key': "roots",
|
||||
'label': "Roots",
|
||||
'type': 'dict'
|
||||
}
|
||||
|
|
@ -78,6 +70,7 @@ class LocalDriveHandler(AbstractProvider):
|
|||
"""
|
||||
editable = [
|
||||
{
|
||||
'key': "roots",
|
||||
'label': "Roots",
|
||||
'type': 'dict'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue