Add note to --use-owner-token help (#235)

This commit is contained in:
pollfly 2025-06-25 14:34:32 +03:00 committed by GitHub
parent ba854aa53b
commit 740f90c96f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -141,7 +141,9 @@ DAEMON_ARGS = dict({
'action': 'store_true',
},
'--use-owner-token': {
'help': 'Generate and use task owner token for the execution of the task',
'help': 'Run tasks under the identity of each task\'s owner: all calls made by the task code during execution '
'will use the owner\'s credentials instead of the agent\'s. This feature requires the agent to use a '
'ClearML Enterprise Server.',
'action': 'store_true',
}
}, **WORKER_ARGS)

View File

@ -86,7 +86,9 @@ def parse_args():
"--use-owner-token",
action="store_true",
default=False,
help="Generate and use task owner token for the execution of each task",
help="Run tasks under the identity of each task's owner: all calls made by the task code during execution will "
"use the owner's credentials instead of the agent's. This features requires the agent to use a ClearML "
"Enterprise Server.",
)
parser.add_argument(
"--create-queue",