mirror of
https://github.com/clearml/clearml
synced 2025-06-26 18:16:07 +00:00
Add docstrings
This commit is contained in:
parent
3f8a48d9f8
commit
2fb42f0a25
@ -21,6 +21,7 @@ def get_options(cls) -> ValuesView:
|
||||
|
||||
|
||||
def apply_environment(config: "Config") -> List[str]:
|
||||
"""Apply environment variables from the configuration"""
|
||||
env_vars = config.get("environment", None)
|
||||
if not env_vars:
|
||||
return []
|
||||
@ -36,6 +37,7 @@ def apply_environment(config: "Config") -> List[str]:
|
||||
|
||||
|
||||
def apply_files(config: "Config") -> None:
|
||||
"""Apply files from the configuration into the local file system"""
|
||||
files = config.get("files", None)
|
||||
if not files:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user