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

Method setup

contrib/examples/sensors/sample_sensor.py:30–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28 """
29
30 def setup(self):
31 # Setup stuff goes here. For example, you might establish connections
32 # to external system once and reuse it. This is called only once by the system.
33 pass
34
35 def run(self):
36 # This is where the crux of the sensor work goes.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected