gordias.config.build_global_attributes_configuration#

gordias.config.build_global_attributes_configuration(global_attribute_metadata: dict[str, Any] | None = None) GlobalAttributesConfiguration | None#

Construct the GlobalAttributesConfiguration object.

Given a dictionary with the configuration metadata of the global attributes the GlobalAttributesConfiguration object is constructed. None is returned if no configuration is provided with the global attribute configuration.

Parameters:

global_attribute_metadata (dict[str, Any] or None) – A dictionary containing the global attributes configuration.

Returns:

The constructed global attribute configuration object or None.

Return type:

GlobalAttributesConfiguration

Raises:

ValueError: – If the construction of the global attribute configuration object fails.