MCPcopy
hub / github.com/zenml-io/zenml / python_version

Method python_version

src/zenml/environment.py:154–160  ·  view source on GitHub ↗

Returns the python version of the running interpreter. Returns: str: the python version

()

Source from the content-addressed store, hash-verified

152
153 @staticmethod
154 def python_version() -> str:
155 """Returns the python version of the running interpreter.
156
157 Returns:
158 str: the python version
159 """
160 return platform.python_version()
161
162 @staticmethod
163 def in_container() -> bool:

Callers 4

infoFunction · 0.95
get_run_environment_dictFunction · 0.45

Calls

no outgoing calls