mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Move file import plugins into core/sandbox/grist
Summary: Move all the plugins python code into the main folder with the core code. Register file importing functions in the same main.py entrypoint as the data engine. Remove options relating to different entrypoints and code directories. The only remaining plugin-specific option in NSandbox is the import directory/mount, i.e. where files to be parsed are placed. Test Plan: this Reviewers: paulfitz Reviewed By: paulfitz Subscribers: dsagal Differential Revision: https://phab.getgrist.com/D2965
This commit is contained in:
@@ -200,7 +200,7 @@ export class DocPluginManager {
|
||||
if (components) {
|
||||
const { safePython, unsafeNode } = components;
|
||||
if (safePython) {
|
||||
const comp = pluginInstance.safePython = new SafePythonComponent(plugin, safePython, this._tmpDir,
|
||||
const comp = pluginInstance.safePython = new SafePythonComponent(plugin, this._tmpDir,
|
||||
this._activeDoc.docName, this._server);
|
||||
pluginInstance.rpc.registerForwarder(safePython, comp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user