To assist with the generic implementation of ORM (or widget) style data access attributes some form of automatic to/from typecasting will be needed.
To reduce code duplication these casters should be external to the attribute classes themselves and merely referenced as a class attribute on the same.
Basically transfer that bit from marrow.tags and expand to cover similar transformations as MongoEngine.
To assist with the generic implementation of ORM (or widget) style data access attributes some form of automatic to/from typecasting will be needed.
To reduce code duplication these casters should be external to the attribute classes themselves and merely referenced as a class attribute on the same.
Basically transfer that bit from
marrow.tags
and expand to cover similar transformations as MongoEngine.