Skip to content

Commit

Permalink
Clean doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
mepland committed May 11, 2024
1 parent a1edc8c commit 89863bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TSModelWrappers/TSModelWrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1089,14 +1089,14 @@ def _assemble_hyperparams( # noqa: C901 # pylint: disable=too-many-statements
def get_hyperparam_value(
hyperparam: str, *, return_none_if_not_found: bool = False
) -> str | float | int | None:
"""Get hyperparam value from variable and fixed hyperparams dicts.
"""Get hyperparamter value from variable and fixed hyperparamter dicts.
Args:
hyperparam (str): Key to search for.
return_none_if_not_found (bool): Return None if the key is not found. (Default value = False)
Returns:
str | float | int | None: hyperparam_value
str | float | int | None: Hyperparamter value.
Raises:
ValueError: Bad configuration.
Expand Down

0 comments on commit 89863bc

Please sign in to comment.