Bases: object
A helper class for ScheduleMixin table and mapper setup.
Helps setting up tables and mappers for classes mixed in with stalker.core.models.ScheduleMixin
For now there is no exmaple for it, but it is pretty similiar to the other mixin classes.
x.__init__(...) initializes x; see help(type(x)) for signature
Methods
setup(class_, class_table[, mapper_arguments]) | Creates the necessary tables and properties for the mappers for the mixed in class. |
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 |