(self)
return self._client
:rtype: wechat_django.client.WeChatClient
                or wechatpy.client.api.wxa.WeChatWxa
:rtype: wechat_django.client.WeChatClient
                or wechatpy.client.api.wxa.WeChatWxa
: rtype : wechat_django . client . WeChatClient or wechatpy . client . api . wxa . WeChatWxa
def client(self):
        """
        :rtype: wechat_django.client.WeChatClient
                or wechatpy.client.api.wxa.WeChatWxa
        """
        if not self.abilities.api:
            raise WeChatAbilityError(WeChatAbilityError.API)
        if not hasattr(self, "_client"):
            self._client = self._get_client()
            if self.type == self.Type.MINIPROGRAM:
                self._client = self._client.wxa
        return self._client
def client ( self ) : if not self . abilities . api : raise WeChatAbilityError ( WeChatAbilityError . API ) if not hasattr ( self , "_client" ) : self . _client = self . _get_client ( ) if self . type == self . Type . MINIPROGRAM : self . _client = self . _client . wxa return self . _client