frequenz-floss / frequenz-client-reporting-python

A python client for the Frequenz Reporting API
MIT License
0 stars 5 forks source link

Use streaming endpoint in list_microgrid_components_data #67

Closed cwasicki closed 3 months ago

cwasicki commented 3 months ago

The streaming endpoint supports requests for historical data. This replaces the list endpoint with the streaming endpoint. The names in the client are for now unchanged to not break user code. They might be revised when live streaming will also be supported by the service.

The list endpoint will most likely be deprecated and removed at some point.

cwasicki commented 3 months ago

Updated after @llucax suggestion to cast to AsyncIterator instead.