MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / __init__

Method __init__

scripts/cron_wrapper.py:18–21  ·  view source on GitHub ↗
(self, command, sentry_cfg, monitor_slug)

Source from the content-addressed store, hash-verified

16
17class MonitoredJob:
18 def __init__(self, command, sentry_cfg, monitor_slug):
19 self.command = command
20 self._setup_sentry(sentry_cfg.get("dsn", ""))
21 self.monitor_slug = monitor_slug
22
23 def run(self):
24 try:

Callers

nothing calls this directly

Calls 2

_setup_sentryMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected