@@ -41,13 +41,13 @@ def variant_executor():
4141def template_conf_args ():
4242 doc_image = 'The image to run the step.'
4343 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.'
4545 doc_timeout_as_transient_error = 'Treat the timeout as TransientError.'
4646 doc_envs = 'The environmental variables.'
4747 return [
4848 Argument ("image" , str , optional = True , default = default_image , doc = doc_image ),
4949 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 ),
5151 Argument ("timeout_as_transient_error" , bool , optional = True , default = False , doc = doc_timeout_as_transient_error ),
5252 Argument ("envs" , dict , optional = True , default = None , doc = doc_envs ),
5353 ]
0 commit comments