mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
a543e5194a
Summary: This adds a dropdown to the document settings model in staging/dev to set the python engine to Python2 or Python3. The setting is saved in `_grist_DocInfo.documentSettings.engine`. Test Plan: tested manually for now - separate diff needed to add runsc to jenkins setup and make this testable Reviewers: dsagal, alexmojaki Reviewed By: alexmojaki Differential Revision: https://phab.getgrist.com/D3014
12 lines
271 B
TypeScript
12 lines
271 B
TypeScript
export interface DocumentSettings {
|
|
locale: string;
|
|
currency?: string;
|
|
engine?: EngineCode;
|
|
}
|
|
|
|
/**
|
|
* The back-end will for now support at most two engines, a pynbox-backed python2 and
|
|
* a gvisor-backed python3.
|
|
*/
|
|
export type EngineCode = 'python2' | 'python3';
|