From 89863bc50547de81d99bb044f9ae552848d7c52e Mon Sep 17 00:00:00 2001 From: Matthew Epland Date: Sat, 11 May 2024 14:44:56 -0400 Subject: [PATCH] Clean doc string --- TSModelWrappers/TSModelWrapper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TSModelWrappers/TSModelWrapper.py b/TSModelWrappers/TSModelWrapper.py index a798335e..e526e23d 100644 --- a/TSModelWrappers/TSModelWrapper.py +++ b/TSModelWrappers/TSModelWrapper.py @@ -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.