cars.orchestrator.cluster.dask_cluster_tools

Contains functions cluster conf checker

Module Contents

Functions

create_checker_schema(conf)

Create checker shema that it can be overloaded

check_configuration(overloaded_conf, cluster_schema)

Check configuration from overload conf and cluster schema

cars.orchestrator.cluster.dask_cluster_tools.create_checker_schema(conf)

Create checker shema that it can be overloaded

Parameters

conf (dict) – configuration to check

Returns

overloaded configuration

Return type

dict

cars.orchestrator.cluster.dask_cluster_tools.check_configuration(overloaded_conf, cluster_schema)

Check configuration from overload conf and cluster schema

Parameters
  • conf (dict) – overloaded_conf to check

  • conf – cluster_schema checking rules

Returns

overloaded configuration

Return type

dict