mate_rest_client.common module

Common classes and routines for MATE’s REST client.

class mate_rest_client.common.APIModel(*args, **kwargs)

Bases: mate_rest_client.common._HasInfo

Common functionality for all models returned by the REST API wrapper.

dict() Dict[str, Any]
Return type

Dict[str, Any]

json(*args: str, **kwargs: Any) str
Parameters
  • args (str) –

  • kwargs (Any) –

Return type

str

class mate_rest_client.common.Routes(client: mate_rest_client.Client)

Bases: object

A management wrapper for a group of related REST endpoints.

Parameters

client (mate_rest_client.Client) –

Return type

None