MCPcopy Index your code
hub / github.com/wechaty/python-wechaty / set_wechaty

Method set_wechaty

src/wechaty/accessory.py:108–112  ·  view source on GitHub ↗

doc

(cls, new_wechaty: Wechaty)

Source from the content-addressed store, hash-verified

106
107 @classmethod
108 def set_wechaty(cls, new_wechaty: Wechaty) -> None:
109 """doc"""
110 if cls._wechaty is not None:
111 raise AttributeError('can not set _wechaty twice')
112 cls._wechaty = new_wechaty
113
114 @classmethod
115 def get_puppet(cls) -> Puppet:

Calls

no outgoing calls