MCPcopy Create free account
hub / github.com/StackStorm/st2 / __init__

Method __init__

st2common/st2common/metrics/base.py:177–182  ·  view source on GitHub ↗
(self, key, include_parameter=False)

Source from the content-addressed store, hash-verified

175 """
176
177 def __init__(self, key, include_parameter=False):
178 check_key(key)
179 self.key = key
180 self._metrics = get_driver()
181 self._include_parameter = include_parameter
182 self._start_time = None
183
184 def send_time(self, key=None):
185 """

Callers

nothing calls this directly

Calls 2

check_keyFunction · 0.90
get_driverFunction · 0.70

Tested by

no test coverage detected