frequenz-floss / frequenz-client-dispatch-python

Dispatch API client for Python
https://frequenz-floss.github.io/frequenz-client-dispatch-python/
MIT License
0 stars 2 forks source link

Make `Client.update` require named parameters #34

Closed Marenz closed 2 months ago

Marenz commented 2 months ago

I noticed it happened often that I used the microgrid id instead of the dispatch id to identify the to-be-updated dispatch which of course is wrong.

This should make it more obvious when using the API what kind of ID should be passed.

Optimally we have distinct types for Microgrid ID and Dispatch ID though.