daemon.clients.mixin module

class daemon.clients.mixin.AsyncToSyncMixin[source]

Bases: object

Mixin to convert async def`s to `def

func(func_name, *args, **kwargs)[source]

convert async method func_name to a normal method

Parameters
  • func_name – name of method in super

  • args – positional args

  • kwargs – keyword args

Returns

run func_name from super

alive(*args, **kwargs)
status(*args, **kwargs)
get(*args, **kwargs)
list(*args, **kwargs)
arguments(*args, **kwargs)
create(*args, **kwargs)
update(*args, **kwargs)
delete(*args, **kwargs)