API reference¶
-
class
thingy.
View
(defaults=False, include=None, exclude=None, ordered=False)[source]¶ Transform an
object
into a dictParameters: - defaults (bool) – Include attributes of object
- include (list) – A list of properties to include
- exclude (list) – A list of attributes to exclude
- ordered (bool) – Use an
OrderedDict
instead