Volue-Public / energy-mesh-python

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

session.get_object returns object other than specified in path when target is missing #426

Closed asmunds closed 5 months ago

asmunds commented 6 months ago

I am doing the following:

with mesh_client.mesh_connection.create_session() as session:
    session.get_object(target='Model/Agder/Mesh.To_Areas/Norge.To_HydroProduction/Vannkraft.To_WaterCourses/Ulla-Førre')

which returns an object with path Model/Agder/Ulla-Førre

image

As you can see, the returned object does not correspond to the requested target. This seems to me to be erroneous behavior.

Note that the requested object does not exist. But still, I would expect an error message, not a wrong object.

tnoczyns-volue commented 6 months ago

This a bug. Today we have a planning session for the upcoming 2-week sprint. I'll let you know about the outcome and possible timeline.

asmunds commented 6 months ago

Great, thanks

tnoczyns-volue commented 6 months ago

Because of other urgent planned activities we didn't include this this issue into the new sprint. I'll inform you about the next planning session outcome in 2 weeks. Meanwhile please let me know about the urgency of this issue, so we can prioritize it better.

tnoczyns-volue commented 5 months ago

@asmunds, information from our planning session: the issue is included in our current sprint - starting today.

tnoczyns-volue commented 5 months ago

The issue was entirely on the Mesh server side. Now it is fixed and will be available in Mesh 2.14 which is planned to be released in June.

asmunds commented 5 months ago

Okay, thanks!

tnoczyns-volue commented 5 months ago

Closing as not planned as there was nothing to be done on Mesh Python SDK side.