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
Update arguments format in endpoints
from:
@app.listen("some.publish.subject") async def receive_messages(subject, message): print(f"got message {message}")
to
@app.listen("some.publish.subject") async def receive_messages(msg): print(f"got message {msg.parsed_data}")
where msg is an object that keeps many parameters:
msg.subject msg.data #raw data msg.parsed_data #handled data msg.header msg.any_another_parameter
The text was updated successfully, but these errors were encountered:
artas728
No branches or pull requests
Update arguments format in endpoints
from:
to
where msg is an object that keeps many parameters:
The text was updated successfully, but these errors were encountered: