match typehints in arguments

This commit is contained in:
Jakub Trllo 2025-02-13 17:06:21 +01:00
parent 7e5f9f27d1
commit 02b2279717

View file

@ -63,9 +63,9 @@ def get_paths_from_environ(
"""Return existing paths from specific environment variable. """Return existing paths from specific environment variable.
Args: Args:
env_key (str): Environment key where should look for paths. env_key (Optional[str]): Environment key where should look for paths.
env_value (str): Value of environment variable. Argument `env_key` is env_value (Optional[str]): Value of environment variable.
skipped if this argument is entered. Argument `env_key` is skipped if this argument is entered.
return_first (bool): Return first found value or return list of found return_first (bool): Return first found value or return list of found
paths. `None` or empty list returned if nothing found. paths. `None` or empty list returned if nothing found.