Bases: object
A helper class for ReferenceMixin table and mapper setup.
Helps setting up tables and mappers for classes mixed in with ReferenceMixin
See examples/extending/great_entity.py for an example.
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Methods
setup(class_, class_table[, mapper_arguments]) | creates the necessary tables and properties for the mappers for the |
creates the necessary tables and properties for the mappers for the mixed in class
use the returning dictionary (mapper_arguments) in your mapper
Parameters: |
|
---|---|
Returns: | a dictionary holding the mapper_arguments |