MCPcopy Create free account
hub / github.com/vercel/vercel / pythonVersionString

Function pythonVersionString

packages/python/src/version.ts:33–36  ·  view source on GitHub ↗
(pv: PythonVersion)

Source from the content-addressed store, hash-verified

31}
32
33export function pythonVersionString(pv: PythonVersion): string | undefined {
34 if (pv.major === undefined || pv.minor === undefined) return undefined;
35 return `${pv.major}.${pv.minor}`;
36}
37
38const DEFAULT_PYTHON_VERSION: PythonVersion = makePythonVersion(3, 12);
39export const DEFAULT_PYTHON_VERSION_STRING: string = pythonVersionString(

Callers 6

buildFunction · 0.90
generateProjectManifestFunction · 0.90
version.tsFile · 0.85
resolvePythonVersionFunction · 0.85
isInstalledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected