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

Method run

contrib/debug/actions/python_version.py:26–36  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

24
25class PythonVersionAction(Action):
26 def run(self, *args, **kwargs):
27 return {
28 "version": sys.version_info,
29 "details": {
30 "major": sys.version_info.major,
31 "minor": sys.version_info.minor,
32 "micro": sys.version_info.micro,
33 "releaselevel": sys.version_info.releaselevel,
34 "serial": sys.version_info.serial,
35 },
36 }
37
38
39if __name__ == "__main__":

Callers 1

python_version.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected