cars.orchestrator.registry.compute_registry
This module contains the replacer registry class
Module Contents
Classes
CarsDatasetRegistryCompute |
- class cars.orchestrator.registry.compute_registry.CarsDatasetRegistryCompute(id_generator)[source]
Bases:
cars.orchestrator.registry.abstract_registry.AbstractCarsDatasetRegistry
CarsDatasetRegistryCompute This registry manages the computation of arriving future results into corresponding CarsDataset
- cars_dataset_in_registry(cars_ds)[source]
Check if a CarsDataset is already registered, return id if exists
- Parameters
cars_ds (CarsDataset) – cars dataset
:return : True if in registry, if of cars dataset :rtype : Tuple(bool, int)
- get_cars_datasets_list()[source]
Get a list of registered CarsDataset
:return list of CarsDataset :rtype: list(CarsDataset)
- add_cars_ds_to_compute(cars_ds)[source]
Add cars dataset to registry
- Parameters
cars_ds (CarsDataset) – cars dataset