(code: string)
| 111 | } |
| 112 | |
| 113 | private async metadata(code: string): Promise<Record<string, unknown>[]> { |
| 114 | const result = await this.execute(code, { maxRows: 10_000 }); |
| 115 | |
| 116 | if (result.truncated) throw new Error('Python metadata exceeds result limits'); |
| 117 | |
| 118 | return result.data; |
| 119 | } |
| 120 | |
| 121 | async dispose(): Promise<void> { |
| 122 | // Each executor call owns its execution resources; the engine owns only source configuration. |