cars.orchestrator.registry.compute_registry
This module contains the replacer registry class
Classes
CarsDatasetRegistryCompute |
Module Contents
- class cars.orchestrator.registry.compute_registry.CarsDatasetRegistryCompute(id_generator)[source]
Bases:
cars.orchestrator.registry.abstract_registry.AbstractCarsDatasetRegistryCarsDatasetRegistryCompute This registry manages the computation of arriving future results into corresponding CarsDataset
- registered_cars_datasets = []
- cars_ds_ids = []
- 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