MCPcopy
hub / github.com/wechatpy/wechatpy / access_token

Method access_token

wechatpy/client/__init__.py:103–108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101
102 @property
103 def access_token(self):
104 access_token = self.session.get(self.access_token_key)
105 if not access_token:
106 self.fetch_access_token()
107 access_token = self.session.get(self.access_token_key)
108 return access_token
109
110 @property
111 def refresh_token(self):

Callers

nothing calls this directly

Calls 2

fetch_access_tokenMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected