cars.orchestrator.registry.id_generator

this module contains the abstract id generator class

Module Contents

Classes

IdGenerator

IdGenerator

class cars.orchestrator.registry.id_generator.IdGenerator[source]

IdGenerator Creates

add_registry(registry)[source]

Add registry to self

Parameters

registry (AbstractCarsDatasetRegistry) – registry

get_new_id(cars_ds)[source]

Generate new id

Parameters

cars_ds (CarsDataset) – cars dataset

:return id :rtype: int

get_saving_infos(cars_ds)[source]

Get saving infos

Parameters

cars_ds (CarsDataset) – cars dataset

:return saving infos :rtype: dict