# coding=utf-8 class ApiBase(object): def __init__(self, client): self._client = client def _post(self, path, **kwargs): return self._client.post(path, **kwargs) def __str__(self): return "{}-{}".format(self._client, self.__class__.__name__)