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

Method _run_script

scripts/cron_wrapper.py:33–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31 sentry_sdk.flush()
32
33 def _run_script(self):
34 return subprocess.run(
35 self.command,
36 text=True,
37 stdout=sys.stdout,
38 stderr=subprocess.PIPE,
39 check=True,
40 )
41
42 def _setup_sentry(self, dsn):
43 sentry_sdk.init(dsn=dsn, traces_sample_rate=1.0) # Configure?

Callers 1

runMethod · 0.95

Calls 1

runMethod · 0.45

Tested by

no test coverage detected