everest.representers.attributes

Mapped resource attributes.

class everest.representers.attributes.MappedAttribute(attr, options=None)[source]

Bases: object

Represents an attribute mapped from a class into a representation.

Wraps a (read-only) resource attribute and mapping options which can be configured dynamically.

__init__(attr, options=None)[source]
Parameters:attr – Resource attribute.
__weakref__

list of weak references to the object (if defined)

Project Versions

Previous topic

everest.representers.atom

Next topic

everest.representers.base

This Page