@@ -41,13 +41,13 @@ def variant_executor():
41
41
def template_conf_args ():
42
42
doc_image = 'The image to run the step.'
43
43
doc_timeout = 'The time limit of the OP. Unit is second.'
44
- doc_retry_on_transient_error = 'Retry the step if a TransientError is raised.'
44
+ doc_retry_on_transient_error = 'The number of retry times if a TransientError is raised.'
45
45
doc_timeout_as_transient_error = 'Treat the timeout as TransientError.'
46
46
doc_envs = 'The environmental variables.'
47
47
return [
48
48
Argument ("image" , str , optional = True , default = default_image , doc = doc_image ),
49
49
Argument ("timeout" , int , optional = True , default = None , doc = doc_timeout ),
50
- Argument ("retry_on_transient_error" , bool , optional = True , default = None , doc = doc_retry_on_transient_error ),
50
+ Argument ("retry_on_transient_error" , int , optional = True , default = None , doc = doc_retry_on_transient_error ),
51
51
Argument ("timeout_as_transient_error" , bool , optional = True , default = False , doc = doc_timeout_as_transient_error ),
52
52
Argument ("envs" , dict , optional = True , default = None , doc = doc_envs ),
53
53
]
0 commit comments