MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / get_python_version

Function get_python_version

diffusers/src/diffusers/utils/testing_utils.py:428–431  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

426
427
428def get_python_version():
429 sys_info = sys.version_info
430 major, minor = sys_info.major, sys_info.minor
431 return major, minor
432
433
434def load_numpy(arry: Union[str, np.ndarray], local_path: Optional[str] = None) -> np.ndarray:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected