v1alpha8
frequenz.client.common.streaming.proto.v1alpha8 ¤
Conversion of Event from/to protobuf v1alpha8.
Functions:¤
frequenz.client.common.streaming.proto.v1alpha8.event_from_proto ¤
Convert a protobuf Event value to a Event enum member.
| PARAMETER | DESCRIPTION |
|---|---|
message
|
The protobuf message to convert.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
Event | int
|
Source code in src/frequenz/client/common/streaming/proto/v1alpha8/_event.py
frequenz.client.common.streaming.proto.v1alpha8.event_to_proto ¤
event_to_proto(event: Event) -> ValueType