gigl.env.pipelines_config#
Attributes#
Functions#
|
Function call to return a resource config wrapper object |
Checks if the resource config has been loaded. |
Module Contents#
- gigl.env.pipelines_config.get_resource_config(resource_config_uri=None)[source]#
Function call to return a resource config wrapper object Usage:
resource_config = get_resource_config() print(resource_config.trainer_config)
- Parameters:
resource_config_uri (Optional[gigl.common.Uri]) – Optional[Uri] = None The URI of the resource config file. If None, the function will try to load the resource config from the command-line argument –resource_config_uri or the environment variable GIGL_RESOURCE_CONFIG_URI (the deprecated RESOURCE_CONFIG_PATH is still read as a fallback, with a one-time warning). If these are not set, the function will try to load the resource config from the pipeline options.
- Returns:
- GiglResourceConfigWrapper
The resource config wrapper object
- Return type:
resource_config