Models and ORM¶
Pybald models are a fairly thin wrapper around the SqlAlchemy ORM.
-
class
pybald.core.models.ContextBoundModels(config=None)¶ Creates a ‘bound’ set of model definitions to a particular context
-
create_session(engine=None, session_args=None)¶
-
-
pybald.core.models.make_model_class(Base, db)¶ Create a series of classes for models that are bound to a context.