Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/prometheus/client_python
/ _child_samples
Method
_child_samples
prometheus_client/metrics.py:501–502 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
499
self._child_samples = types.MethodType(samples, self)
# type: ignore
500
501
def
_child_samples(self) -> Iterable[Sample]:
502
return
(Sample(
''
, {}, self._value.get(), None, None),)
503
504
505
class
Summary(MetricWrapperBase):
Callers
nothing calls this directly
Calls
2
Sample
Class · 0.85
get
Method · 0.45
Tested by
no test coverage detected