doc
(cls, new_wechaty: Wechaty)
| 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: |
no outgoing calls