Ejemplo n.º 1
0
 def from_runner_api(proto):
     # type: (beam_fn_api_pb2.Metrics.User.GaugeData) -> GaugeData
     return GaugeData(proto.value,
                      timestamp=proto_utils.from_Timestamp(proto.timestamp))
Ejemplo n.º 2
0
 def from_runner_api(proto):
     return GaugeData(proto.value,
                      timestamp=proto_utils.from_Timestamp(proto.timestamp))