everest.entities.aggregates

Aggregate implementations.

class everest.entities.aggregates.MemoryAggregate(entity_class, session_factory)[source]

Bases: everest.entities.base.Aggregate

In-memory implementation for aggregates.

Note :When “blank” entities without an ID and a slug are added to a memory aggregate, they can not be retrieved using the get_by_id() or get_by_slug() methods since there is no mechanism to autogenerate IDs or slugs.
class everest.entities.aggregates.OrmAggregate(entity_class, session_factory, search_mode=False)[source]

Bases: everest.entities.base.Aggregate

ORM implementation for aggregates.

Project Versions

Previous topic

everest.utils

Next topic

everest.entities.attributes

This Page