Fix docstring typos (#476)

This commit is contained in:
pollfly 2021-10-17 20:19:16 +03:00 committed by GitHub
parent 8e1ff6eed9
commit c29dd1fe06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 9 deletions

View File

@ -436,7 +436,7 @@ class ClearmlJob(BaseJob):
): ):
# type: (...) -> () # type: (...) -> ()
""" """
Create a new Task based in a base_task_id with a different set of parameters Create a new Task based on a base_task_id with a different set of parameters
:param str base_task_id: base task id to clone from :param str base_task_id: base task id to clone from
:param dict parameter_override: dictionary of parameters and values to set fo the cloned task :param dict parameter_override: dictionary of parameters and values to set fo the cloned task

View File

@ -81,7 +81,7 @@ class Monitor(object):
def monitor_step(self): def monitor_step(self):
# type: () -> () # type: () -> ()
""" """
Implement the main query / interface of he monitor class. Implement the main query / interface of the monitor class.
In order to combine multiple Monitor objects, call `monitor_step` manually. In order to combine multiple Monitor objects, call `monitor_step` manually.
If Tasks are detected in this call, If Tasks are detected in this call,
@ -130,7 +130,7 @@ class Monitor(object):
# type: (Task) -> () # type: (Task) -> ()
Abstract function Abstract function
Called on every Task that we monitor. For example monitoring failed Task, Called on every Task that we monitor. For example, monitoring failed Task,
will call this Task the first time the Task was detected as failed. will call this Task the first time the Task was detected as failed.
:return: None :return: None

View File

@ -106,9 +106,9 @@ class OptimizerOptuna(SearchStrategy):
): ):
# type: (...) -> None # type: (...) -> None
""" """
Initialize am Optuna search strategy optimizer Initialize an Optuna search strategy optimizer
Optuna performs robust and efficient hyperparameter optimization at scale by combining. Optuna performs robust and efficient hyperparameter optimization at scale by combining.
Specific hyper-parameter pruning strategy can be selected via `sampler` and `pruner` arguments Specific hyperparameter pruning strategy can be selected via `sampler` and `pruner` arguments
:param str base_task_id: Task ID (str) :param str base_task_id: Task ID (str)
:param list hyper_parameters: list of Parameter objects to optimize over :param list hyper_parameters: list of Parameter objects to optimize over

View File

@ -580,7 +580,7 @@ class TaskScheduler(BaseScheduler):
:param single_instance: If True, do not launch the Task job if the previous instance is still running :param single_instance: If True, do not launch the Task job if the previous instance is still running
(skip until the next scheduled time period). Default False. (skip until the next scheduled time period). Default False.
:param recurring: If False only launch the Task once (default: True, repeat) :param recurring: If False only launch the Task once (default: True, repeat)
:param execute_immediately: If True, schedule the Task to be execute immediately :param execute_immediately: If True, schedule the Task to be executed immediately
then recurring based on the timing schedule arguments. Default False. then recurring based on the timing schedule arguments. Default False.
:param reuse_task: If True, re-enqueue the same Task (i.e. do not clone it) every time, default False. :param reuse_task: If True, re-enqueue the same Task (i.e. do not clone it) every time, default False.
:param task_parameters: Configuration parameters to the executed Task. :param task_parameters: Configuration parameters to the executed Task.

View File

@ -163,7 +163,7 @@
# If this flag is true (default is false), instead of analyzing the code with Pigar, analyze with `pip freeze` # If this flag is true (default is false), instead of analyzing the code with Pigar, analyze with `pip freeze`
detect_with_pip_freeze: false detect_with_pip_freeze: false
# Log specific environment variables. OS environments are enlisted in the "Environment" section # Log specific environment variables. OS environments are listed in the "Environment" section
# of the Hyper-Parameters. # of the Hyper-Parameters.
# multiple selected variables are supported including the suffix '*'. # multiple selected variables are supported including the suffix '*'.
# For example: "AWS_*" will log any OS environment variable starting with 'AWS_'. # For example: "AWS_*" will log any OS environment variable starting with 'AWS_'.

View File

@ -179,7 +179,7 @@ sdk {
# as comments inside the "Installed packages" section # as comments inside the "Installed packages" section
detailed_import_report: false detailed_import_report: false
# Log specific environment variables. OS environments are enlisted in the "Environment" section # Log specific environment variables. OS environments are listed in the "Environment" section
# of the Hyper-Parameters. # of the Hyper-Parameters.
# multiple selected variables are supported including the suffix '*'. # multiple selected variables are supported including the suffix '*'.
# For example: "AWS_*" will log any OS environment variable starting with 'AWS_'. # For example: "AWS_*" will log any OS environment variable starting with 'AWS_'.

View File

@ -176,7 +176,7 @@ sdk {
detect_with_pip_freeze: false detect_with_pip_freeze: false
detect_with_conda_freeze: false detect_with_conda_freeze: false
# Log specific environment variables. OS environments are enlisted in the "Environment" section # Log specific environment variables. OS environments are listed in the "Environment" section
# of the Hyper-Parameters. # of the Hyper-Parameters.
# multiple selected variables are supported including the suffix '*'. # multiple selected variables are supported including the suffix '*'.
# For example: "AWS_*" will log any OS environment variable starting with 'AWS_'. # For example: "AWS_*" will log any OS environment variable starting with 'AWS_'.