wotpy.wot.dictionaries.base

Base class for WoT dictionaries.

Classes

WotBaseDict(*args, **kwargs) Base class for all WoT data types represented as dictionaries in the Scripting API specification.
class wotpy.wot.dictionaries.base.WotBaseDict(*args, **kwargs)

Bases: object

Base class for all WoT data types represented as dictionaries in the Scripting API specification.

class Meta

Bases: object

defaults = {}
fields = {}
required = {}
to_dict()

Returns the pure dict (JSON-serializable) representation of this WoT dictionary.