monitor_schema.models.segments#
Segment definitions.
Classes#
No extras base model. |
|
A single tag key value pair for a segment. |
|
A segment is a list of tags. |
Module Contents#
- class monitor_schema.models.segments.NoExtrasBaseModel[source]#
Bases:
pydantic.BaseModel
No extras base model.
Inherit to prevent accidental extra fields.
- class monitor_schema.models.segments.SegmentTag[source]#
Bases:
monitor_schema.models.commons.NoExtrasBaseModel
A single tag key value pair for a segment.
- class monitor_schema.models.segments.Segment[source]#
Bases:
monitor_schema.models.commons.NoExtrasBaseModel
A segment is a list of tags.
We normalize these in the backend.
- tags: List[SegmentTag]#