def _init(self, clnt):
assert clnt, "<STR_LIT>"<EOL>self._clnt = clnt<EOL>self._apikey = clnt.apikey()<EOL>self._version = clnt.conf(YP_VERSION, defval=VERSION_V2)<EOL>self._charset = clnt.conf(HTTP_CHARSET, defval=CHARSET_UTF8)<EOL>self._name = self.__class__.__module__.split('<STR_LIT:.>')[-<NUM_LIT:1>]<EOL>
initialize api by YunpianClient