everest.entities.repository

Entity repository.

class everest.entities.repository.EntityRepository(entity_store, aggregate_class)[source]

Bases: everest.repository.Repository

The entity repository manages entity accessors (aggregates).

In addition to creating and caching aggregates, the entity repository also provides facilities to interact with the aggregate implementation registry. This makes it possible to switch the implementation used for freshly created aggregates at runtime.

aggregate_class = None

The class to use when creating new aggregates.

Project Versions

Previous topic

everest.entities.interfaces

Next topic

everest.entities.system

This Page