Method
metadata
(code: string, signal?: AbortSignal)
Source from the content-addressed store, hash-verified
| 167 | } |
| 168 | |
| 169 | private async metadata(code: string, signal?: AbortSignal): Promise<Record<string, unknown>[]> { |
| 170 | const result = await this.execute(code, { maxRows: 10_000 }, signal); |
| 171 | |
| 172 | if (result.truncated) throw new Error('Python metadata exceeds result limits'); |
| 173 | |
| 174 | return result.data; |
| 175 | } |
| 176 | |
| 177 | async dispose(): Promise<void> { |
| 178 | this.source = null; |
Tested by
no test coverage detected