Browse Source

fix: placeholder for PyWebViewPlatformService writeAndShareFile

pull/137/head
Matthew Raymer 1 week ago
parent
commit
ba2b2fc543
  1. 12
      src/services/platforms/PyWebViewPlatformService.ts

12
src/services/platforms/PyWebViewPlatformService.ts

@ -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");
}
}

Loading…
Cancel
Save