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

Method set_puppet

src/wechaty/accessory.py:101–105  ·  view source on GitHub ↗

doc

(cls, new_puppet: Puppet)

Source from the content-addressed store, hash-verified

99
100 @classmethod
101 def set_puppet(cls, new_puppet: Puppet) -> None:
102 """doc"""
103 if cls._puppet is not None:
104 raise AttributeError('can not set _puppet twice')
105 cls._puppet = new_puppet
106
107 @classmethod
108 def set_wechaty(cls, new_wechaty: Wechaty) -> None:

Calls

no outgoing calls