MCPcopy Create free account
hub / github.com/antvis/AVA / metadata

Method metadata

src/interpreter/python/engine.ts:169–175  ·  view source on GitHub ↗
(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;

Callers 2

schemaMethod · 0.95
profileMethod · 0.95

Calls 1

executeMethod · 0.95

Tested by

no test coverage detected