We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If key "name" in json data, then:
ERROR:root:on_event() got multiple values for keyword argument 'name' Traceback (most recent call last): File "/Users/yurtaev/PycharmProjects/tornado_bag/tornadio2/session.py", line 404, in raw_message ack_response = conn.on_event(event['name'], **str_args) TypeError: on_event() got multiple values for keyword argument 'name'
because:
def on_event(self, name, _args, *_kwargs): via. https://github.com/MrJoes/tornadio2/blob/master/tornadio2/conn.py#L154
python
@event def echo(self, **kwargs): return kwargs
javascript
conn.emit("echo", {name:"test"}, function(data){console.dir(data)})
The text was updated successfully, but these errors were encountered:
I don't know how to fix it yurtaev@72e6b05
Sorry, something went wrong.
637619d
Many thanks, I'm idiot =)
No branches or pull requests
If key "name" in json data, then:
because:
python
javascript
The text was updated successfully, but these errors were encountered: