(method: RpcMethod)
| 1397 | } |
| 1398 | |
| 1399 | function pythonParamsTypeName(method: RpcMethod): string { |
| 1400 | const fallback = pythonRequestFallbackName(method); |
| 1401 | if (method.rpcMethod.startsWith("session.") && method.params?.$ref) { |
| 1402 | return fallback; |
| 1403 | } |
| 1404 | const schema = getMethodParamsSchema(method); |
| 1405 | if (schema?.$ref) return toPascalCase(refTypeName(schema.$ref, rpcDefinitions)); |
| 1406 | return getRpcSchemaTypeName(schema, fallback); |
| 1407 | } |
| 1408 | |
| 1409 | // ── Session Events ────────────────────────────────────────────────────────── |
| 1410 | // ── Session Events (custom codegen — dedicated per-event payload types) ───── |
no test coverage detected
searching dependent graphs…