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