mirror of
https://github.com/clearml/clearml
synced 2025-03-04 02:57:24 +00:00
Fix docstring & Python 3.5
This commit is contained in:
parent
aa52531d35
commit
8cade04a0c
@ -672,7 +672,7 @@ class PipelineController(object):
|
|||||||
status_change_callback=None, # type: Optional[Callable[[PipelineController, PipelineController.Node, str], None]] # noqa
|
status_change_callback=None, # type: Optional[Callable[[PipelineController, PipelineController.Node, str], None]] # noqa
|
||||||
tags=None, # type: Optional[Union[str, Sequence[str]]]
|
tags=None, # type: Optional[Union[str, Sequence[str]]]
|
||||||
output_uri=None, # type: Optional[Union[str, bool]]
|
output_uri=None, # type: Optional[Union[str, bool]]
|
||||||
draft=False, # type: Optional[bool]
|
draft=False # type: Optional[bool]
|
||||||
):
|
):
|
||||||
# type: (...) -> bool
|
# type: (...) -> bool
|
||||||
"""
|
"""
|
||||||
@ -841,7 +841,8 @@ class PipelineController(object):
|
|||||||
(i.e. launching the pipeline from the UI/enqueuing it), this method has no effect.
|
(i.e. launching the pipeline from the UI/enqueuing it), this method has no effect.
|
||||||
:param output_uri: The storage / output url for this step. This is the default location for output
|
:param output_uri: The storage / output url for this step. This is the default location for output
|
||||||
models and other artifacts. Check Task.init reference docs for more info (output_uri is a parameter).
|
models and other artifacts. Check Task.init reference docs for more info (output_uri is a parameter).
|
||||||
: param: (default False). If True, the Task will be created as a draft.
|
:param draft: (default False). If True, the Task will be created as a draft task.
|
||||||
|
|
||||||
:return: True if successful
|
:return: True if successful
|
||||||
"""
|
"""
|
||||||
function_kwargs = function_kwargs or {}
|
function_kwargs = function_kwargs or {}
|
||||||
@ -1985,7 +1986,7 @@ class PipelineController(object):
|
|||||||
status_change_callback=None, # type: Optional[Callable[[PipelineController, PipelineController.Node, str], None]] # noqa
|
status_change_callback=None, # type: Optional[Callable[[PipelineController, PipelineController.Node, str], None]] # noqa
|
||||||
tags=None, # type: Optional[Union[str, Sequence[str]]]
|
tags=None, # type: Optional[Union[str, Sequence[str]]]
|
||||||
output_uri=None, # type: Optional[Union[str, bool]]
|
output_uri=None, # type: Optional[Union[str, bool]]
|
||||||
draft=False, # type: Optional[bool]
|
draft=False # type: Optional[bool]
|
||||||
):
|
):
|
||||||
# type: (...) -> bool
|
# type: (...) -> bool
|
||||||
"""
|
"""
|
||||||
@ -2154,7 +2155,7 @@ class PipelineController(object):
|
|||||||
(i.e. launching the pipeline from the UI/enqueuing it), this method has no effect.
|
(i.e. launching the pipeline from the UI/enqueuing it), this method has no effect.
|
||||||
:param output_uri: The storage / output url for this step. This is the default location for output
|
:param output_uri: The storage / output url for this step. This is the default location for output
|
||||||
models and other artifacts. Check Task.init reference docs for more info (output_uri is a parameter).
|
models and other artifacts. Check Task.init reference docs for more info (output_uri is a parameter).
|
||||||
: param: (default False). If True, the Task will be created as a draft.
|
:param draft: (default False). If True, the Task will be created as a draft task.
|
||||||
|
|
||||||
:return: True if successful
|
:return: True if successful
|
||||||
"""
|
"""
|
||||||
@ -3790,7 +3791,7 @@ class PipelineDecorator(PipelineController):
|
|||||||
status_change_callback=None, # type: Optional[Callable[[PipelineController, PipelineController.Node, str], None]] # noqa
|
status_change_callback=None, # type: Optional[Callable[[PipelineController, PipelineController.Node, str], None]] # noqa
|
||||||
tags=None, # type: Optional[Union[str, Sequence[str]]]
|
tags=None, # type: Optional[Union[str, Sequence[str]]]
|
||||||
output_uri=None, # type: Optional[Union[str, bool]]
|
output_uri=None, # type: Optional[Union[str, bool]]
|
||||||
draft=False, # type: Optional[bool]
|
draft=False # type: Optional[bool]
|
||||||
):
|
):
|
||||||
# type: (...) -> Callable
|
# type: (...) -> Callable
|
||||||
"""
|
"""
|
||||||
@ -3930,7 +3931,7 @@ class PipelineDecorator(PipelineController):
|
|||||||
(i.e. launching the pipeline from the UI/enqueuing it), this method has no effect.
|
(i.e. launching the pipeline from the UI/enqueuing it), this method has no effect.
|
||||||
:param output_uri: The storage / output url for this step. This is the default location for output
|
:param output_uri: The storage / output url for this step. This is the default location for output
|
||||||
models and other artifacts. Check Task.init reference docs for more info (output_uri is a parameter).
|
models and other artifacts. Check Task.init reference docs for more info (output_uri is a parameter).
|
||||||
: param: (default False). If True, the Task will be created as a draft.
|
:param draft: (default False). If True, the Task will be created as a draft task.
|
||||||
|
|
||||||
:return: function wrapper
|
:return: function wrapper
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user