Class TimestampRange (2.25.0)

TimestampRange(start=None, end=None)

Range of time with inclusive lower and exclusive upper bounds.

Parameters

Name Description
start datetime.datetime

(Optional) The (inclusive) lower bound of the timestamp range. If omitted, defaults to Unix epoch.

end datetime.datetime

(Optional) The (exclusive) upper bound of the timestamp range. If omitted, no upper bound is used.

Methods

to_pb

to_pb()

Converts the TimestampRange to a protobuf.

Returns
Type Description
.data_v2_pb2.TimestampRange The converted current object.