mirror of
https://github.com/clearml/clearml-agent
synced 2025-06-26 18:16:15 +00:00
Add note to --use-owner-token help (#235)
This commit is contained in:
parent
ba854aa53b
commit
740f90c96f
@ -141,7 +141,9 @@ DAEMON_ARGS = dict({
|
|||||||
'action': 'store_true',
|
'action': 'store_true',
|
||||||
},
|
},
|
||||||
'--use-owner-token': {
|
'--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',
|
'action': 'store_true',
|
||||||
}
|
}
|
||||||
}, **WORKER_ARGS)
|
}, **WORKER_ARGS)
|
||||||
|
@ -86,7 +86,9 @@ def parse_args():
|
|||||||
"--use-owner-token",
|
"--use-owner-token",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
default=False,
|
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(
|
parser.add_argument(
|
||||||
"--create-queue",
|
"--create-queue",
|
||||||
|
Loading…
Reference in New Issue
Block a user