fix: placeholder for PyWebViewPlatformService writeAndShareFile

This commit is contained in:
Matthew Raymer
2025-05-28 05:06:31 +00:00
parent 21184e7625
commit ba2b2fc543

View File

@@ -120,4 +120,16 @@ export class PyWebViewPlatformService implements PlatformService {
): Promise<{ changes: number; lastId?: number }> {
throw new Error("Not implemented for " + sql + " with params " + params);
}
/**
* Should write and share a file using the Python backend.
* @param _fileName - Name of the file to write and share
* @param _content - Content to write to the file
* @throws Error with "Not implemented" message
* @todo Implement file writing and sharing through pywebview's Python-JavaScript bridge
*/
async writeAndShareFile(_fileName: string, _content: string): Promise<void> {
logger.error("writeAndShareFile not implemented in PyWebView platform");
throw new Error("Not implemented");
}
}