wotpy.wot.dictionaries.filter

Wrapper class for dictionaries to represent Thing filters.

Classes

ThingFilterDict(*args, **kwargs) The ThingFilter dictionary that represents the constraints for discovering Things as key-value pairs.
class wotpy.wot.dictionaries.filter.ThingFilterDict(*args, **kwargs)

Bases: wotpy.wot.dictionaries.base.WotBaseDict

The ThingFilter dictionary that represents the constraints for discovering Things as key-value pairs.

class Meta

Bases: object

defaults = {'method': 'any'}
fields = {'fragment', 'method', 'query', 'url'}