We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfc11d8 commit 0600a3dCopy full SHA for 0600a3d
prometheus_client/platform_collector.py
@@ -9,7 +9,7 @@ class PlatformCollector(Collector):
9
"""Collector for python platform information"""
10
11
def __init__(self,
12
- registry: CollectorRegistry = REGISTRY,
+ registry: Optional[CollectorRegistry] = REGISTRY,
13
platform: Optional[Any] = None,
14
):
15
self._platform = pf if platform is None else platform
0 commit comments