MCPcopy Index your code
hub / github.com/github/copilot-sdk / wrapParser

Function wrapParser

scripts/codegen/python.ts:1459–1461  ·  view source on GitHub ↗
(resolved: PyResolvedType, arg = "x")

Source from the content-addressed store, hash-verified

1457}
1458
1459function wrapParser(resolved: PyResolvedType, arg = "x"): string {
1460 return `lambda ${arg}: ${resolved.fromExpr(arg)}`;
1461}
1462
1463function wrapSerializer(resolved: PyResolvedType, arg = "x"): string {
1464 return `lambda ${arg}: ${resolved.toExpr(arg)}`;

Callers 2

pyOptionalResolvedTypeFunction · 0.85
resolvePyPropertyTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…