mlm_insights.config_reader package

Subpackages

Submodules

mlm_insights.config_reader.custom_component module

class mlm_insights.config_reader.custom_component.CustomComponent(component_name: str, component: Any)

Bases: object

mlm_insights.config_reader.insights_config_reader module

class mlm_insights.config_reader.insights_config_reader.InsightsConfigReader(config_location: str, **storage_options: Any)

Bases: object

Config reader class for MLInsights Library. This will be used to build a InsightsBuilder class instance using a config file.

get_builder() InsightsBuilder

Method to create builder components using the config and return the InsightsBuilder object and validate if required parameters are provided to create a InsightsBuilder object.

Returns

InsightsBuilder

An Instance of InsightsBuilder.

get_test_builder(test_context: TestContext) InsightsTestBuilder
with_custom_component(custom_components: List[CustomComponent]) InsightsConfigReader

Method to register custom component to be used in config file.

Parameters

custom_componentsList[CustomComponent]

List of custom component to be registered.

Returns

InsightsConfigReader

An Instance of InsightsConfigReader.