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:739–741 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
737
self._value = dict(val)
738
739
def
_child_samples(self) -> Iterable[Sample]:
740
with
self._lock:
741
return
(Sample(
'_info'
, self._value, 1.0, None, None),)
742
743
744
class
Enum(MetricWrapperBase):
Callers
nothing calls this directly
Calls
1
Sample
Class · 0.85
Tested by
no test coverage detected