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

Method run

contrib/debug/actions/pythonpath.py:24–31  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

22
23class PythonPathAction(Action):
24 def run(self, *args, **kwargs):
25 pythonpath = os.environ.get("PYTHONPATH")
26 if pythonpath:
27 pythonpath = pythonpath.split(":")
28 return {
29 "PYTHONPATH": pythonpath,
30 "sys.path": sys.path,
31 }

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected