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

Function isNamedPyObjectSchema

scripts/codegen/python.ts:1332–1334  ·  view source on GitHub ↗
(schema: JSONSchema7 | undefined)

Source from the content-addressed store, hash-verified

1330}
1331
1332function isNamedPyObjectSchema(schema: JSONSchema7 | undefined): schema is JSONSchema7 {
1333 return !!schema && schema.type === "object" && (schema.properties !== undefined || schema.additionalProperties === false);
1334}
1335
1336function getMethodResultSchema(method: RpcMethod): JSONSchema7 | undefined {
1337 return resolveSchema(method.result, rpcDefinitions) ?? method.result ?? undefined;

Callers 2

getPyNamedSchemaTypeFunction · 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…