[Bug] Query.decode_parameters() does not return dictionary
Closed this issue · 1 comments
sophokles73 commented
Describe the bug
The Query.decode_parameters() method is supposed to return a dictionary containing the parameters passed in via the query string. However, when trying to get a parameter from the returned object, an exception is thrown, indicating that the object has no attribute get.
IMHO this line in the Query class should read
return super().decode_parameters()
To reproduce
- register a Queryable with a handler.
- In the handler, try to decode the parameters using Query.decode_parameters().
- Try to invoke dict.get(key) on the returned object.
System info
- Zenoh version: 0.6.0-b1
- Platform: Ubuntu 22.10 on amd64