Skip to content

Conversation

@camille-bouvy-frequenz
Copy link
Contributor

@camille-bouvy-frequenz camille-bouvy-frequenz commented Mar 13, 2025

This PR updates the client functions to align with the gRPC changes in frequenz-api-electricity-trading v0.5.0 (see here).

The main changes are:

  • Removed list_public_trades
  • Replaced public_trades_stream with receive_public_trades
  • Updated the method to support streaming with optional time range (start_time, end_time)
  • Updated the unit tests with the new function name
  • Updated the dependencies:
    • frequenz-api-electricity-trading to v0.5.0
    • protobuf to avoid dependency conflicts.
  • Switch CLI tool to use public trade streams

@camille-bouvy-frequenz camille-bouvy-frequenz requested a review from a team as a code owner March 13, 2025 16:37
@github-actions github-actions bot added part:docs Affects the documentation part:tests Affects the unit, integration and performance (benchmarks) tests part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) labels Mar 13, 2025
@camille-bouvy-frequenz camille-bouvy-frequenz marked this pull request as draft March 13, 2025 16:37
@cwasicki
Copy link
Collaborator

Superseded by #113

@cwasicki cwasicki closed this Mar 19, 2025
- Bumped `frequenz-api-electricity-trading` to `>=0.5.0`

Signed-off-by: camille-bouvy-frequenz <[email protected]>
- Removed `list_public_trades`
- Replaced `public_trades_stream` with `receive_public_trades`
- Updated the method to support streaming with optional time range (`start_time`, `end_time`)
- Update the unit tests with the new function name

Signed-off-by: camille-bouvy-frequenz <[email protected]>
Signed-off-by: camille-bouvy-frequenz <[email protected]>
@camille-bouvy-frequenz camille-bouvy-frequenz marked this pull request as ready for review March 27, 2025 12:48
@camille-bouvy-frequenz camille-bouvy-frequenz added this pull request to the merge queue Mar 27, 2025
Merged via the queue into frequenz-floss:v0.x.x with commit c42a909 Mar 27, 2025
14 checks passed
@camille-bouvy-frequenz camille-bouvy-frequenz deleted the refactor-pt-stream branch March 27, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:docs Affects the documentation part:tests Affects the unit, integration and performance (benchmarks) tests part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants