gigl.env.pipelines_config#

Attributes#

Functions#

get_resource_config([resource_config_uri])

Function call to return a resource config wrapper object

is_resource_config_loaded()

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 RESOURCE_CONFIG_PATH. 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

gigl.env.pipelines_config.is_resource_config_loaded()[source]#

Checks if the resource config has been loaded. Returns True if the resource config has been loaded, False otherwise.

Return type:

bool

gigl.env.pipelines_config.logger[source]#
gigl.env.pipelines_config.resource_config[source]#