Class TimestampRange (2.5.2)

TimestampRange(start=None, end=None)

Range of time with inclusive lower and exclusive upper bounds.

Parameters

NameDescription
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
TypeDescription
.data_v2_pb2.TimestampRangeThe converted current object.