Volue-Public / energy-mesh-python

A Python API able to communicate with Volue Energy's Mesh server.
Other
10 stars 0 forks source link

Adjust to removal of `return_no_attributes` from `AttributesMasks` message #423

Closed tnoczyns-volue closed 6 months ago

tnoczyns-volue commented 6 months ago

Adjust to proto changes that will be done in https://github.com/Volue/energy-mesh/issues/5013.

From Python SDK side we need to adjust return_no_attributes from the AttributesFilter class. So that if the return_no_attributes is set then attributes field mask is not set. Best be done together with #385.

PS: Add a test to when return_no_attributes is set to True, but at the same time we set also full_attribute_info to True.

The changes won't break the Python SDK API.

simia commented 6 months ago

Resolved by #436