cars.orchestrator.registry.abstract_registry
This module contains the abstract registry class
Module Contents
Classes
AbstractCarsDatasetRegistry |
- class cars.orchestrator.registry.abstract_registry.AbstractCarsDatasetRegistry(id_generator)[source]
AbstractCarsDatasetRegistry This is the abstract class of registries, managing delayed CarsDatasets
- abstract 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)
- abstract get_cars_datasets_list()[source]
Get a list of registered CarsDataset
:return list of CarsDataset :rtype: list(CarsDataset)
- abstract get_cars_ds(future_result)[source]
Get a list of registered CarsDataset
- Parameters
future_result – object to get cars dataset from
:return corresponding CarsDataset :rtype: CarsDataset