Skip to content

Conversation

@Marenz
Copy link
Contributor

@Marenz Marenz commented Aug 12, 2025

No description provided.

Signed-off-by: Mathias L. Baumann <[email protected]>
Copilot AI review requested due to automatic review settings August 12, 2025 10:45
@Marenz Marenz requested a review from a team as a code owner August 12, 2025 10:45
@Marenz Marenz requested a review from shsms August 12, 2025 10:45
@github-actions github-actions bot added part:docs Affects the documentation part:tests Affects the unit, integration and performance (benchmarks) tests labels Aug 12, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds Python bindings for the streaming.Event enum from the protobuf API v1alpha8. The implementation provides a Python enum wrapper around the protobuf-generated event types to enable type-safe handling of streaming events.

Key Changes:

  • Creates Event enum wrapper for streaming event types (UNSPECIFIED, CREATED, UPDATED, DELETED)
  • Adds comprehensive test coverage for the enum conversion functionality
  • Updates release notes to document the new Event mapping

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/frequenz/client/common/v1alpha8/streaming/__init__.py Implements Event enum wrapper with protobuf bindings for streaming event types
tests/test_streaming.py Adds test coverage for Event enum conversion using enum_from_proto utility
RELEASE_NOTES.md Documents the addition of Event message mapping in release notes

@Marenz Marenz added this pull request to the merge queue Aug 12, 2025
Merged via the queue into frequenz-floss:v0.x.x with commit 6a66511 Aug 12, 2025
5 checks passed
@Marenz Marenz deleted the eventmsg branch August 12, 2025 12:24
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants