The watcher.api.controllers.base Module

class watcher.api.controllers.base.APIBase(**kw)[source]

Bases: wsme.types.Base

as_dict()[source]

Render this object as a dict of its fields.

unset_fields_except(except_list=None)[source]

Unset fields so they don’t appear in the message body.

Parameters:except_list – A list of fields that won’t be touched.