userver: pytest_userver.metrics.Metric Class Reference
Loading...
Searching...
No Matches
pytest_userver.metrics.Metric Class Reference

Detailed Description

Metric type that contains the labels: typing.Dict[str, str] and value: int.

The type is hashable and comparable:

Definition at line 70 of file metrics.py.

Public Member Functions

bool __eq__ (self, typing.Any other)
 
int __hash__ (self)
 

Static Public Attributes

typing labels .Dict[str, str]
 

Member Function Documentation

◆ __eq__()

bool pytest_userver.metrics.Metric.__eq__ ( self,
typing.Any other )

Definition at line 89 of file metrics.py.

◆ __hash__()

int pytest_userver.metrics.Metric.__hash__ ( self)

Definition at line 94 of file metrics.py.

Member Data Documentation

◆ labels

typing pytest_userver.metrics.Metric.labels .Dict[str, str]
static

Definition at line 81 of file metrics.py.


The documentation for this class was generated from the following file: