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

Function wrapSerializer

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

Source from the content-addressed store, hash-verified

1461}
1462
1463function wrapSerializer(resolved: PyResolvedType, arg = "x"): string {
1464 return `lambda ${arg}: ${resolved.toExpr(arg)}`;
1465}
1466
1467const PY_SESSION_EVENT_TYPE_RENAMES: Record<string, string> = {
1468 AssistantMessageDataToolRequestsItem: "AssistantMessageToolRequest",

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…