wechaty / python-wechaty-puppet-service

Python Puppet Service Client for Wechaty
https://pypi.org/project/wechaty-puppet-service
Apache License 2.0
9 stars 15 forks source link

fix room-leave room_id issue #32

Closed why2lyj closed 4 years ago

why2lyj commented 4 years ago

fix bug room-leave EventRoomLeavePayload with issue

wj-Mcat commented 4 years ago

For Error Consider using Python 3 style super() without arguments (super-with-arguments):

Refer to :

I think you should change the style of calling super __init__ method to :

    def __init__(self, options: PuppetOptions, name: str = 'hostie_puppet'):
        super().__init__(options, name)

You can try it.


For Error Consider explicitly re-raising using the 'from' keyword (raise-missing-from):

Refer to:

So you should raise WechatyPuppetPayloadError from origin_exception


Waiting for your new commits.

wj-Mcat commented 4 years ago

The last step : I think you should update the VERSION file to deploy the package.