Volue-Public / energy-mesh-python

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

Investigate on closing connections #366

Open tnoczyns-volue opened 1 year ago

tnoczyns-volue commented 1 year ago

Initial question: https://github.com/Volue-Public/energy-mesh-python/discussions/365#discussioncomment-6799773

It seems closing channels explicitly or via with statements is required. See python examples and PR that added comments and with statements to the examples.

Link to implementation: https://github.com/grpc/grpc/blob/master/src/python/grpcio/grpc/_channel.py

Investigate if we need to close the channels and if we do then implement it.