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

Function renderPythonAllList

scripts/codegen/python.ts:3350–3357  ·  view source on GitHub ↗
(names: string[])

Source from the content-addressed store, hash-verified

3348}
3349
3350function renderPythonAllList(names: string[]): string {
3351 const lines: string[] = ["__all__ = ["];
3352 for (const name of names) {
3353 lines.push(` ${JSON.stringify(name)},`);
3354 }
3355 lines.push("]");
3356 return lines.join("\n");
3357}
3358
3359function collectPythonSessionEventExportedTypeNames(schema: JSONSchema7): Set<string> {
3360 const definitions = collectDefinitionCollections(schema as Record<string, unknown>);

Callers 2

appendPythonRpcAllListFunction · 0.85

Calls 2

joinMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…