MCPcopy Create free account
hub / github.com/doraemonext/wechat-python-sdk / _check_parse

Method _check_parse

wechat_sdk/basic.py:852–858  ·  view source on GitHub ↗

检查是否成功解析微信服务器传来的数据 :raises NeedParseError: 需要解析微信服务器传来的数据

(self)

Source from the content-addressed store, hash-verified

850 return self.conf.jsapi_ticket
851
852 def _check_parse(self):
853 """
854 检查是否成功解析微信服务器传来的数据
855 :raises NeedParseError: 需要解析微信服务器传来的数据
856 """
857 if not self.__is_parse:
858 raise NeedParseError()
859
860 def _check_official_error(self, json_data):
861 """

Callers 9

get_messageMethod · 0.95
response_noneMethod · 0.95
response_textMethod · 0.95
response_imageMethod · 0.95
response_voiceMethod · 0.95
response_videoMethod · 0.95
response_musicMethod · 0.95
response_newsMethod · 0.95

Calls 1

NeedParseErrorClass · 0.85

Tested by

no test coverage detected