Fields

Todo

List more fields

class repose.fields.Dictionary(*args, **kwargs)

Field subclass with dict validation.

__init__(*args, **kwargs)
class repose.fields.IsoDate(*args, **kwargs)

Field subclass for ISO8601 dates.

Todo

The IsoDate field needs implementing Should parse ISO8601 strings into datetime objects and back again.

class repose.fields.ManagedIdListCollection(model, *args, **kwargs)

Use for providing a managed collection upon a field which contains a list of model IDs.

This does a little fancy footwork to ensure that the values are only loaded when accessed. This functionality is largely provided by LazyList

__init__(model, *args, **kwargs)