setta 0.0.2__tar.gz → 0.0.3.dev0__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {setta-0.0.2/backend/setta.egg-info → setta-0.0.3.dev0}/PKG-INFO +1 -1
- setta-0.0.3.dev0/README.md +112 -0
- setta-0.0.3.dev0/backend/setta/__init__.py +1 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/cli/logger.py +1 -3
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/code_gen/create_runnable_scripts.py +43 -27
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/code_gen/export_selected.py +1 -5
- setta-0.0.3.dev0/backend/setta/code_gen/find_placeholders.py +24 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/backup.py +1 -2
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db_objs.py +6 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/export_db/export_raw.py +3 -3
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/export_db/utils.py +2 -3
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/settings_file.py +3 -3
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/server.py +3 -4
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/start.py +4 -3
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/constants/constants.json +3 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/constants/settingsProject.json +31 -31
- setta-0.0.2/backend/setta/static/frontend/assets/index-ee99dc72.js → setta-0.0.3.dev0/backend/setta/static/frontend/assets/index-36d99fbc.js +145 -145
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/index.html +1 -1
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/tasks/utils.py +2 -2
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/utils/constants.py +4 -2
- {setta-0.0.2 → setta-0.0.3.dev0/backend/setta.egg-info}/PKG-INFO +1 -1
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta.egg-info/SOURCES.txt +1 -2
- setta-0.0.2/README.md +0 -25
- setta-0.0.2/backend/setta/__init__.py +0 -1
- setta-0.0.2/backend/setta/code_gen/find_placeholders.py +0 -13
- setta-0.0.2/backend/setta/database/db_path.py +0 -8
- {setta-0.0.2 → setta-0.0.3.dev0}/LICENSE +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/MANIFEST.in +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/cli/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/cli/connect.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/code_gen/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/code_gen/python/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/code_gen/python/ast_utils.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/code_gen/python/check_scope.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/code_gen/python/generate_code.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/code_gen/python/make_parseable.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/code_gen/python/position_line_col.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/code_gen/python/validate_imports.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/code_gen/utils.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/code_gen/yaml/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/code_gen/yaml/generate_yaml.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/code_gen/yaml/section_dict.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/artifacts/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/artifacts/load.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/artifacts/save.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/artifacts/save_or_create.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/artifacts/utils.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/codeInfo/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/codeInfo/copy.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/codeInfo/load.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/codeInfo/save.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/codeInfo/utils.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/evRefs/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/evRefs/load.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/evRefs/save.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/projects/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/projects/copy.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/projects/delete.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/projects/load.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/projects/save.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/projects/saveAs.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/projects/utils.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/sectionVariants/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/sectionVariants/copy.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/sectionVariants/load.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/sectionVariants/save.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/sectionVariants/utils.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/sections/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/sections/copy.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/sections/jsonSource.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/sections/load.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/sections/save.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/sections/utils.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/uiTypes/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/uiTypes/copy.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/uiTypes/load.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/uiTypes/save.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db/uiTypes/utils.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/db_init.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/export_db/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/export_db/export_db.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/export_db/export_readable.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/import_db.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/seed.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/database/utils.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/lsp/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/lsp/file_watcher.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/lsp/reader.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/lsp/reader_fns/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/lsp/reader_fns/completion.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/lsp/reader_fns/definition.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/lsp/reader_fns/diagnostics.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/lsp/reader_fns/documentHighlight.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/lsp/reader_fns/references.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/lsp/reader_fns/signatureHelp.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/lsp/server.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/lsp/utils.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/lsp/writer.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/routers/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/routers/artifact.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/routers/code_info.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/routers/dependencies.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/routers/in_memory_fn_stdout_websocket.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/routers/interactive.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/routers/lsp.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/routers/projects.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/routers/reference_renaming.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/routers/sections.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/routers/settings.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/routers/terminals.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/routers/websocket.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/constants/BaseUITypes.json +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/constants/Settings.json +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/constants/db_init.sql +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/constants/defaultValues.json +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/android-chrome-192x192.png +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/android-chrome-512x512.png +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/apple-touch-icon.png +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_AMS-Regular-0cdd387c.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_AMS-Regular-30da91e8.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_AMS-Regular-68534840.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Caligraphic-Regular-3398dd02.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Fraktur-Bold-74444efd.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Fraktur-Bold-9163df9c.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Fraktur-Regular-51814d27.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Fraktur-Regular-5e28753b.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Main-Bold-0f60d1b8.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Main-Bold-138ac28d.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Main-Bold-c76c5d69.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Main-Italic-0d85ae7c.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Main-Italic-97479ca6.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Main-Italic-f1d6ef86.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Main-Regular-c2342cd8.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Main-Regular-c6368d87.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Main-Regular-d0332f52.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Math-BoldItalic-850c0af5.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Math-Italic-08ce98e5.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Math-Italic-7af58c5e.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Math-Italic-8a8d2445.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_SansSerif-Bold-ece03cfd.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_SansSerif-Italic-3931dd81.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_SansSerif-Italic-91ee6750.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_SansSerif-Regular-f36ea897.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Script-Regular-036d4e95.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Script-Regular-1c67f068.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Script-Regular-d96cdf2b.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Size1-Regular-6b47c401.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Size1-Regular-95b6d2f1.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Size1-Regular-c943cc98.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Size2-Regular-2014c523.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Size2-Regular-a6b2099f.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Size2-Regular-d04c5421.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Size3-Regular-500e04d5.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Size3-Regular-6ab6b62e.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Size4-Regular-99f9c675.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Size4-Regular-a4af7d41.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Size4-Regular-c647367d.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Typewriter-Regular-e14fed02.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/cormorant-garamond-all-700-italic-c9b58582.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/cormorant-garamond-cyrillic-700-italic-9101ad5f.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/cormorant-garamond-cyrillic-ext-700-italic-950de0d6.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/cormorant-garamond-latin-700-italic-0bc53e12.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/cormorant-garamond-latin-ext-700-italic-525738e0.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/cormorant-garamond-vietnamese-700-italic-99563037.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/erase-5e0448ea.svg +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/index-1d4b4ecf.css +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-all-400-normal-054f12d0.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-all-600-normal-c03769e5.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-all-800-normal-15dc6e4b.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-cyrillic-400-normal-a4eee61a.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-cyrillic-600-normal-8b14f703.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-cyrillic-800-normal-e706eaaa.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-cyrillic-ext-400-normal-70047a3b.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-cyrillic-ext-600-normal-d4ab9bc4.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-cyrillic-ext-800-normal-eae7515a.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-greek-400-normal-381ea30d.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-greek-600-normal-601f93a2.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-greek-800-normal-7af4fb64.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-greek-ext-400-normal-27027b17.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-greek-ext-600-normal-f2ddf9de.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-greek-ext-800-normal-4cb6189e.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-latin-400-normal-d56fec21.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-latin-600-normal-ff769fa6.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-latin-800-normal-5eea1309.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-latin-ext-400-normal-bb698d85.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-latin-ext-600-normal-ca4808f9.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/inter-latin-ext-800-normal-ebdacc0f.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/logo/logo.svg +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/pen-455d7d8a.svg +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/source-code-pro-all-500-normal-6bdaa03b.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/source-code-pro-cyrillic-500-normal-288a0d68.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/source-code-pro-cyrillic-ext-500-normal-b110a13b.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/source-code-pro-greek-500-normal-04328acb.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/source-code-pro-latin-500-normal-06edef1e.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/source-code-pro-latin-ext-500-normal-6dc60d5e.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/web-vitals-44a8e082.js +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/work-sans-all-400-normal-38034a3c.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/work-sans-all-500-normal-550d64e5.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/work-sans-all-600-normal-ccf14060.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/work-sans-all-700-normal-494c2971.woff +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/work-sans-latin-400-normal-36735bc1.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/work-sans-latin-500-normal-3790bfda.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/work-sans-latin-600-normal-5fba494e.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/work-sans-latin-700-normal-a5033d0a.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/work-sans-latin-ext-400-normal-c20f571a.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/work-sans-latin-ext-500-normal-0f5ac96c.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/work-sans-latin-ext-600-normal-97a237d1.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/assets/work-sans-latin-ext-700-normal-103e112c.woff2 +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/browserconfig.xml +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/favicon-16x16.png +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/favicon-32x32.png +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/favicon.ico +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/manifest.json +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/mstile-144x144.png +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/mstile-150x150.png +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/mstile-310x150.png +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/mstile-310x310.png +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/mstile-70x70.png +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/robots.txt +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/safari-pinned-tab.svg +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/frontend/site.webmanifest +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/seed/.DS_Store +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/static/seed/examples/.DS_Store +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/tasks/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/tasks/fns/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/tasks/fns/codeAreaAutocomplete.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/tasks/fns/codeAreaFindTemplateVars.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/tasks/fns/codeAreaInitializeCode.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/tasks/fns/findEVRefs.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/tasks/fns/parametersRequest.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/tasks/fns/textFieldAutocomplete.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/tasks/fns/textFieldInitializeCode.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/tasks/fns/typeCheck.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/tasks/fns/utils.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/tasks/task_runner.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/tasks/tasks.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/terminals/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/terminals/terminals.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/terminals/utils.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/utils/__init__.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/utils/generate_memorable_string.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/utils/generate_new_filename.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/utils/section_contents.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/utils/utils.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta/utils/websocket_manager.py +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta.egg-info/dependency_links.txt +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta.egg-info/entry_points.txt +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta.egg-info/requires.txt +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/backend/setta.egg-info/top_level.txt +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/pyproject.toml +0 -0
- {setta-0.0.2 → setta-0.0.3.dev0}/setup.cfg +0 -0
@@ -0,0 +1,112 @@
|
|
1
|
+

|
2
|
+

|
3
|
+
|
4
|
+
|
5
|
+
# Python Without The Grind
|
6
|
+
|
7
|
+
https://github.com/user-attachments/assets/58b9b29b-8131-4dc9-8d08-0bbf5d1b9356
|
8
|
+
|
9
|
+
## What does Setta do?
|
10
|
+
Setta enables you to:
|
11
|
+
- Streamline your code.
|
12
|
+
- Skip the boilerplate parsers and frontend.
|
13
|
+
- Effortlessly expose your Python functions as a flexible UI.
|
14
|
+
- Configure, interact, and share with ease.
|
15
|
+
|
16
|
+
## What Setta Is Not
|
17
|
+
Setta is **not**:
|
18
|
+
- A frontend framework.
|
19
|
+
- A visual programming system.
|
20
|
+
|
21
|
+
## Why Setta Is Betta
|
22
|
+
|
23
|
+
|
24
|
+
<table>
|
25
|
+
<tr>
|
26
|
+
<td style="vertical-align: top; padding-right: 20px;">
|
27
|
+
<h3>Built for Devs</h3>
|
28
|
+
<ul>
|
29
|
+
<li>Write your core logic wherever you want, whether that’s inside a Setta code block, or in your favorite IDE.</li>
|
30
|
+
<li>Set your configs inside Setta, with autocompletions, type-checking, and refactoring support.</li>
|
31
|
+
<li>Run. No config parsers needed.</li>
|
32
|
+
<li>Auto-export your Setta projects in a Git-friendly yaml format.</li>
|
33
|
+
</ul>
|
34
|
+
</td>
|
35
|
+
<td style="vertical-align: top;">
|
36
|
+
<video src="https://github.com/user-attachments/assets/ab5786d4-cf3f-4f8d-8951-7a9fd4a9f9bf" />
|
37
|
+
</td>
|
38
|
+
</tr>
|
39
|
+
<tr>
|
40
|
+
<td style="vertical-align: top; padding-right: 20px;">
|
41
|
+
<h3>Powerful Config Management</h3>
|
42
|
+
<ul>
|
43
|
+
<li>Version your configs at a granular level.</li>
|
44
|
+
<li>Share configurations between projects.</li>
|
45
|
+
<li>Run param sweeps across both scalar values and config versions.</li>
|
46
|
+
</ul>
|
47
|
+
</td>
|
48
|
+
<td style="vertical-align: top;">
|
49
|
+
<video src="https://github.com/user-attachments/assets/3303294e-20e7-419a-8274-57ac8e5aea92" />
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td style="vertical-align: top; padding-right: 20px;">
|
54
|
+
<h3>Customizable, Integrated Documentation</h3>
|
55
|
+
Integrate your documentation, tooltips, markdown, social content, and images to make your configurations more approachable.
|
56
|
+
</td>
|
57
|
+
<td style="vertical-align: top;">
|
58
|
+
<video src="https://github.com/user-attachments/assets/d08bcede-06b5-4b66-9559-c3f7574e5894" />
|
59
|
+
</td>
|
60
|
+
</tr>
|
61
|
+
<tr>
|
62
|
+
<td style="vertical-align: top; padding-right: 20px;">
|
63
|
+
<h3>Flexible UI</h3>
|
64
|
+
<ul>
|
65
|
+
<li>Create, organize and set your configs in a flexible drag-and-drop user interface.</li>
|
66
|
+
<li>Utilize common UI types like sliders, color pickers, switches, and text input fields.</li>
|
67
|
+
</ul>
|
68
|
+
</td>
|
69
|
+
<td style="vertical-align: top;">
|
70
|
+
<video src="https://github.com/user-attachments/assets/8730c9f3-dbcb-47af-8290-a5d460e82e4b" />
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
<tr>
|
74
|
+
<td style="vertical-align: top; padding-right: 20px;">
|
75
|
+
<h3>Monitor Long Running Scripts</h3>
|
76
|
+
Configure your machine-learning training runs, LLM evals, and data analysis scripts.
|
77
|
+
</td>
|
78
|
+
<td style="vertical-align: top;">
|
79
|
+
<video src="https://github.com/user-attachments/assets/a118f895-19c5-4d0f-bebe-4a0b594ee405" />
|
80
|
+
</td>
|
81
|
+
</tr>
|
82
|
+
<tr>
|
83
|
+
<td style="vertical-align: top; padding-right: 20px;">
|
84
|
+
<h3>Interact In Real-Time</h3>
|
85
|
+
Inpaint your AI images and adjust data visualizations with real-time outputs in Setta.
|
86
|
+
</td>
|
87
|
+
<td style="vertical-align: top;">
|
88
|
+
<video src="https://github.com/user-attachments/assets/3e04c72f-3422-40b7-ba08-328b4534ea2b" />
|
89
|
+
</td>
|
90
|
+
</tr>
|
91
|
+
</table>
|
92
|
+
|
93
|
+
|
94
|
+
## Installation
|
95
|
+
|
96
|
+
```
|
97
|
+
pip install setta
|
98
|
+
```
|
99
|
+
|
100
|
+
## Documentation
|
101
|
+
|
102
|
+
Documentation is in progress: https://docs.setta.dev/
|
103
|
+
|
104
|
+
## Examples
|
105
|
+
|
106
|
+
Examples showing how to use Setta will be here: https://github.com/settadev/examples
|
107
|
+
|
108
|
+
|
109
|
+
## Contributors
|
110
|
+
|
111
|
+
- [Kevin Musgrave](https://github.com/KevinMusgrave): co-creator & full-stack developer.
|
112
|
+
- [Jeff Musgrave](https://github.com/JeffMusgrave): co-creator, UI/UX developer, frontend developer, and designer.
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.0.3.dev0"
|
@@ -26,9 +26,7 @@ class Setta:
|
|
26
26
|
if root_path:
|
27
27
|
self.root_path = Path(root_path)
|
28
28
|
else:
|
29
|
-
self.root_path = Path(
|
30
|
-
os.environ.get(CODE_FOLDER_ENV_VARIABLE, os.path.relpath(os.getcwd()))
|
31
|
-
)
|
29
|
+
self.root_path = Path(os.environ.get(CODE_FOLDER_ENV_VARIABLE, "."))
|
32
30
|
|
33
31
|
self.name_path_type_to_id = {}
|
34
32
|
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import copy
|
2
|
-
import os
|
3
2
|
from datetime import datetime
|
4
3
|
from pathlib import Path
|
5
4
|
|
6
5
|
from setta.code_gen.export_selected import (
|
7
6
|
export_selected,
|
8
7
|
get_gen_code_template_var,
|
8
|
+
get_section_name,
|
9
9
|
get_section_type,
|
10
10
|
get_selected_section_variant,
|
11
11
|
)
|
12
|
-
from setta.code_gen.find_placeholders import
|
12
|
+
from setta.code_gen.find_placeholders import parse_template_var, tp
|
13
13
|
from setta.code_gen.python.generate_code import (
|
14
14
|
convert_var_names_to_readable_form,
|
15
15
|
generate_code,
|
@@ -23,6 +23,7 @@ from setta.code_gen.utils import process_refs
|
|
23
23
|
from setta.utils.constants import (
|
24
24
|
CODE_FOLDER,
|
25
25
|
CODE_FOLDER_ENV_VARIABLE,
|
26
|
+
CWD,
|
26
27
|
USER_SETTINGS,
|
27
28
|
C,
|
28
29
|
)
|
@@ -56,13 +57,13 @@ async def runCode(message, lsp_writers):
|
|
56
57
|
id_to_relpath = {}
|
57
58
|
for sid in to_write:
|
58
59
|
curr_code = code_dict[sid]
|
59
|
-
|
60
|
+
rel_path_str = write_code_to_file(
|
60
61
|
folder_path,
|
61
62
|
curr_code["sanitized_full_name"],
|
62
63
|
curr_code["code"],
|
63
64
|
curr_code["codeLanguage"],
|
64
65
|
)
|
65
|
-
id_to_relpath[sid] =
|
66
|
+
id_to_relpath[sid] = rel_path_str
|
66
67
|
|
67
68
|
# Only run code that isn't referenced by other code
|
68
69
|
run_order = [
|
@@ -71,8 +72,8 @@ async def runCode(message, lsp_writers):
|
|
71
72
|
|
72
73
|
# create a wrapper script if there are multiple files to run
|
73
74
|
if len(run_order) > 1:
|
74
|
-
|
75
|
-
command = codeCallStr(
|
75
|
+
rel_path_str = create_wrapper_bash_script(folder_path, run_order, code_dict)
|
76
|
+
command = codeCallStr(rel_path_str, "bash")
|
76
77
|
else:
|
77
78
|
sid = run_order[0]
|
78
79
|
command = codeCallStr(id_to_relpath[sid], code_dict[sid]["codeLanguage"])
|
@@ -280,17 +281,41 @@ def get_template_var_replacement_value_fn(
|
|
280
281
|
chars_before_template_var,
|
281
282
|
)
|
282
283
|
else:
|
283
|
-
|
284
|
-
|
285
|
-
|
284
|
+
return process_non_hardcoded_template_var(
|
285
|
+
keyword,
|
286
|
+
template_var,
|
287
|
+
exporter_obj,
|
288
|
+
section_dependencies,
|
289
|
+
folder_path,
|
290
|
+
)
|
291
|
+
|
286
292
|
elif codeLanguage == "bash":
|
287
|
-
|
288
|
-
|
289
|
-
|
293
|
+
return process_non_hardcoded_template_var(
|
294
|
+
keyword, template_var, exporter_obj, section_dependencies, folder_path
|
295
|
+
)
|
290
296
|
|
291
297
|
return get_template_var_replacement_value
|
292
298
|
|
293
299
|
|
300
|
+
def process_non_hardcoded_template_var(
|
301
|
+
keyword, template_var, exporter_obj, section_dependencies, folder_path
|
302
|
+
):
|
303
|
+
keyword, keyword_type = parse_template_var(keyword)
|
304
|
+
if keyword_type == C.TEMPLATE_VAR_IMPORT_PATH_SUFFIX:
|
305
|
+
section_dependencies.append(template_var["sectionId"])
|
306
|
+
return construct_module_path(folder_path, keyword)
|
307
|
+
elif keyword_type == C.TEMPLATE_VAR_VERSION_SUFFIX:
|
308
|
+
version_name = get_selected_section_variant(
|
309
|
+
exporter_obj.p, template_var["sectionId"]
|
310
|
+
)["name"]
|
311
|
+
section_name = get_section_name(exporter_obj.p, template_var["sectionId"])
|
312
|
+
return f'"{section_name}@{version_name}"'
|
313
|
+
elif keyword_type == C.TEMPLATE_VAR_FILE_PATH_SUFFIX:
|
314
|
+
section_dependencies.append(template_var["sectionId"])
|
315
|
+
keyword = sanitize_section_path_full_name(keyword)
|
316
|
+
return f'"{codePathStr(folder_path, keyword, "python")}"'
|
317
|
+
|
318
|
+
|
294
319
|
def get_absolute_decl_position_from_rel_position(
|
295
320
|
template_var, var_name_to_decl_rel_position_dict
|
296
321
|
):
|
@@ -337,7 +362,7 @@ def preprocess_template_vars(code, evRefs, templateVars, cursor_position):
|
|
337
362
|
|
338
363
|
|
339
364
|
def convert_folder_path_to_module_path(folder_path):
|
340
|
-
return
|
365
|
+
return folder_path.relative_to(CWD).as_posix().replace("/", ".").replace("\\", ".")
|
341
366
|
|
342
367
|
|
343
368
|
def languageToExtension(x):
|
@@ -351,7 +376,7 @@ def languageToCall(x):
|
|
351
376
|
def codePathStr(folder_path, filename, codeLanguage):
|
352
377
|
extension = languageToExtension(codeLanguage)
|
353
378
|
output = folder_path / f"{filename}{extension}"
|
354
|
-
return
|
379
|
+
return output.relative_to(CWD).as_posix()
|
355
380
|
|
356
381
|
|
357
382
|
def codeCallStr(filepath, codeLanguage):
|
@@ -407,28 +432,19 @@ def create_timestamped_folder(base_dir, prefix=""):
|
|
407
432
|
folder_name = f"_{prefix}{timestamp}"
|
408
433
|
# Full path for the new folder
|
409
434
|
folder_path = Path(base_dir) / folder_name
|
410
|
-
|
411
|
-
if not os.path.exists(folder_path):
|
412
|
-
try:
|
413
|
-
os.makedirs(folder_path)
|
414
|
-
except FileExistsError:
|
415
|
-
pass
|
416
|
-
|
435
|
+
folder_path.mkdir(parents=True, exist_ok=True)
|
417
436
|
return folder_path
|
418
437
|
|
419
438
|
|
420
439
|
def write_code_to_file(folder_path, filename, code, codeLanguage):
|
421
440
|
extension = languageToExtension(codeLanguage)
|
422
441
|
filepath = write_string_to_file(folder_path, f"{filename}{extension}", code)
|
423
|
-
return
|
442
|
+
return filepath.relative_to(CWD).as_posix()
|
424
443
|
|
425
444
|
|
426
445
|
def write_string_to_file(folder, filename, content):
|
427
|
-
|
428
|
-
file_path
|
429
|
-
# Write the content to the file
|
430
|
-
with open(file_path, "w") as file:
|
431
|
-
file.write(content)
|
446
|
+
file_path = Path(folder) / filename
|
447
|
+
file_path.write_text(content)
|
432
448
|
return file_path
|
433
449
|
|
434
450
|
|
@@ -11,10 +11,6 @@ from .find_placeholders import tp
|
|
11
11
|
from .utils import process_refs
|
12
12
|
|
13
13
|
|
14
|
-
def get_args_var_name(var_name):
|
15
|
-
return f"{C.ARGS_PREFIX}{var_name}"
|
16
|
-
|
17
|
-
|
18
14
|
def get_section_type(p, id):
|
19
15
|
ui_type_id = p["sections"][id]["uiTypeId"]
|
20
16
|
ui_type = p["uiTypes"].get(ui_type_id) or BASE_UI_TYPES[ui_type_id]
|
@@ -144,7 +140,7 @@ def no_entered_value(value):
|
|
144
140
|
|
145
141
|
|
146
142
|
def get_var_name(var_name_mapping):
|
147
|
-
return f"
|
143
|
+
return f"{C.ARGS_PREFIX}x{len(var_name_mapping)}"
|
148
144
|
|
149
145
|
|
150
146
|
def get_for_section_id(p, section_id):
|
@@ -0,0 +1,24 @@
|
|
1
|
+
from setta.utils.constants import C
|
2
|
+
|
3
|
+
|
4
|
+
def tp(x):
|
5
|
+
return f"{C.TEMPLATE_PREFIX}{x}"
|
6
|
+
|
7
|
+
|
8
|
+
def remove_tp(x):
|
9
|
+
return x.lstrip(C.TEMPLATE_PREFIX)
|
10
|
+
|
11
|
+
|
12
|
+
def parse_template_var(template_str: str) -> tuple[str, str | None]:
|
13
|
+
suffixes = [
|
14
|
+
f"{tp(C.TEMPLATE_VAR_IMPORT_PATH_SUFFIX)}",
|
15
|
+
f"{tp(C.TEMPLATE_VAR_VERSION_SUFFIX)}",
|
16
|
+
f"{tp(C.TEMPLATE_VAR_FILE_PATH_SUFFIX)}",
|
17
|
+
]
|
18
|
+
|
19
|
+
for suffix in suffixes:
|
20
|
+
if template_str.endswith(suffix):
|
21
|
+
base_str = remove_tp(template_str[: -len(suffix)])
|
22
|
+
return base_str, remove_tp(suffix)
|
23
|
+
|
24
|
+
return template_str, None
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import logging
|
2
|
-
import os
|
3
2
|
import shutil
|
4
3
|
import time
|
5
4
|
from datetime import datetime
|
@@ -54,7 +53,7 @@ def create_backup(db_path):
|
|
54
53
|
ensure_backup_dir_exists()
|
55
54
|
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
|
56
55
|
backup_filename = f"backup_{timestamp}.db"
|
57
|
-
backup_path =
|
56
|
+
backup_path = DB_BACKUP_FOLDER / backup_filename
|
58
57
|
logger.debug(f"creating backup: {backup_path}")
|
59
58
|
|
60
59
|
shutil.copy2(db_path, backup_path)
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import queue
|
2
2
|
import sqlite3
|
3
3
|
|
4
|
+
from setta.utils.constants import SETTA_FILES_FOLDER
|
5
|
+
|
4
6
|
|
5
7
|
class DB:
|
6
8
|
def __init__(self, path):
|
@@ -100,3 +102,7 @@ class DBQueue:
|
|
100
102
|
def __exit__(self, *args, **kwargs):
|
101
103
|
self.curr.__exit__(*args, **kwargs)
|
102
104
|
self.put_back_curr()
|
105
|
+
|
106
|
+
|
107
|
+
def get_default_db_path():
|
108
|
+
return SETTA_FILES_FOLDER / "setta.db"
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import logging
|
2
|
-
import os
|
3
|
-
from pathlib import Path
|
4
2
|
|
5
3
|
import yaml
|
6
4
|
|
5
|
+
from setta.utils.constants import SETTA_FILES_FOLDER
|
6
|
+
|
7
7
|
logger = logging.getLogger(__name__)
|
8
8
|
|
9
9
|
|
@@ -26,7 +26,7 @@ def export_raw(db, filename):
|
|
26
26
|
yaml.add_representer(str, literal_presenter)
|
27
27
|
|
28
28
|
# For YAML export, PyYAML is used; ensure it's installed
|
29
|
-
filepath =
|
29
|
+
filepath = SETTA_FILES_FOLDER / f"{filename}_export.yaml"
|
30
30
|
logger.debug(f"saving raw db to {filepath}")
|
31
31
|
with open(filepath, "w") as file:
|
32
32
|
yaml.dump(database_export, file, allow_unicode=True, sort_keys=False)
|
@@ -1,16 +1,15 @@
|
|
1
|
-
import os
|
2
1
|
from collections import defaultdict
|
3
|
-
from pathlib import Path
|
4
2
|
|
5
3
|
import yaml
|
6
4
|
from yaml.representer import Representer
|
7
5
|
|
8
6
|
from setta.database.db.projects.load import load_full_project
|
7
|
+
from setta.utils.constants import SETTA_FILES_FOLDER
|
9
8
|
|
10
9
|
|
11
10
|
def get_configs_and_root_folder(db, filename):
|
12
11
|
# export defaultdict the same way as dict
|
13
12
|
yaml.add_representer(defaultdict, Representer.represent_dict)
|
14
13
|
configs = load_full_project(db)
|
15
|
-
root_folder =
|
14
|
+
root_folder = SETTA_FILES_FOLDER / f"{filename}_export"
|
16
15
|
return configs, root_folder
|
@@ -11,7 +11,7 @@ from setta.database.db.sections.jsonSource import (
|
|
11
11
|
remove_json_source_data,
|
12
12
|
save_json_source_data,
|
13
13
|
)
|
14
|
-
from setta.utils.constants import CONSTANTS_FOLDER, USER_SETTINGS
|
14
|
+
from setta.utils.constants import CONSTANTS_FOLDER, SETTA_FILES_FOLDER, USER_SETTINGS
|
15
15
|
from setta.utils.utils import get_absolute_path, save_json_to_file
|
16
16
|
|
17
17
|
logger = logging.getLogger(__name__)
|
@@ -63,8 +63,8 @@ class MetaSettingsFile:
|
|
63
63
|
self.path_seed_meta_settings = get_absolute_path(
|
64
64
|
__file__, CONSTANTS_FOLDER / "settingsProject.json"
|
65
65
|
)
|
66
|
-
self.path_default_settings = "setta-settings.json"
|
67
|
-
self.path_meta_settings = "setta-meta-settings.json"
|
66
|
+
self.path_default_settings = SETTA_FILES_FOLDER / "setta-settings.json"
|
67
|
+
self.path_meta_settings = SETTA_FILES_FOLDER / "setta-meta-settings.json"
|
68
68
|
self.load_seed_files()
|
69
69
|
|
70
70
|
def get_settings_paths(self):
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import logging
|
2
|
-
import os
|
3
2
|
from contextlib import asynccontextmanager
|
4
3
|
from pathlib import Path
|
5
4
|
|
@@ -35,7 +34,7 @@ from setta.routers import (
|
|
35
34
|
)
|
36
35
|
from setta.tasks.tasks import Tasks
|
37
36
|
from setta.terminals.terminals import TerminalWebsockets
|
38
|
-
from setta.utils.constants import CODE_FOLDER, USER_SETTINGS, C
|
37
|
+
from setta.utils.constants import CODE_FOLDER, CWD, USER_SETTINGS, C
|
39
38
|
from setta.utils.utils import get_absolute_path, is_dev_mode
|
40
39
|
from setta.utils.websocket_manager import WebsocketManager
|
41
40
|
|
@@ -45,8 +44,8 @@ async def lifespan(app: FastAPI):
|
|
45
44
|
# startup
|
46
45
|
app.state.settings_file = SettingsFile()
|
47
46
|
app.state.lsps = create_lsps(
|
48
|
-
workspace_folder=
|
49
|
-
code_folder=
|
47
|
+
workspace_folder=CWD,
|
48
|
+
code_folder=CODE_FOLDER / "temp_folder",
|
50
49
|
settings=USER_SETTINGS["languageServer"],
|
51
50
|
)
|
52
51
|
app.state.lsp_writers = create_lsp_writers(app.state.lsps)
|
@@ -9,11 +9,10 @@ import uvicorn
|
|
9
9
|
from . import __version__
|
10
10
|
from .cli.connect import connect as _connect
|
11
11
|
from .database.db_init import maybe_create_tables_and_seed
|
12
|
-
from .database.db_objs import DBQueue
|
13
|
-
from .database.db_path import get_default_db_path
|
12
|
+
from .database.db_objs import DBQueue, get_default_db_path
|
14
13
|
from .database.export_db.export_db import export_database
|
15
14
|
from .database.import_db import import_database
|
16
|
-
from .utils.constants import C, set_constants
|
15
|
+
from .utils.constants import SETTA_FILES_FOLDER, C, set_constants
|
17
16
|
|
18
17
|
|
19
18
|
@click.command()
|
@@ -79,6 +78,8 @@ def cli(ctx, reload, with_examples, db, host, port, log_level):
|
|
79
78
|
if ctx.invoked_subcommand is None:
|
80
79
|
print("Starting Setta", flush=True)
|
81
80
|
|
81
|
+
SETTA_FILES_FOLDER.mkdir(parents=True, exist_ok=True)
|
82
|
+
|
82
83
|
set_constants(
|
83
84
|
with_examples=with_examples,
|
84
85
|
db_path=db,
|
@@ -105,6 +105,9 @@
|
|
105
105
|
"WS_LSP_STATUS": "lspStatus",
|
106
106
|
"SETTA_GENERATED_PYTHON": "SETTA_GENERATED_PYTHON",
|
107
107
|
"SETTA_GENERATED_PYTHON_IMPORTS": "SETTA_GENERATED_PYTHON_IMPORTS",
|
108
|
+
"TEMPLATE_VAR_IMPORT_PATH_SUFFIX": "import_path",
|
109
|
+
"TEMPLATE_VAR_VERSION_SUFFIX": "version",
|
110
|
+
"TEMPLATE_VAR_FILE_PATH_SUFFIX": "file_path",
|
108
111
|
"DEFAULT_PYTHON_SCRIPT_NAME": "setta_python_script",
|
109
112
|
"DEFAULT_BASH_SCRIPT_NAME": "setta_bash_script",
|
110
113
|
"CODE_AREA_GEN_CODE_NOT_INITIALIZED": "CODE_AREA_GEN_CODE_NOT_INITIALIZED",
|
@@ -42,19 +42,19 @@
|
|
42
42
|
},
|
43
43
|
"sectionVariants": {
|
44
44
|
"19f203aa-cae6-4ccc-928c-dab0194ade77": {
|
45
|
-
"name": "setta-settings.json"
|
45
|
+
"name": "setta_files/setta-settings.json"
|
46
46
|
},
|
47
47
|
"f3cb4189-2692-4e75-b58f-76d632f44205": {
|
48
|
-
"name": "setta-settings.json"
|
48
|
+
"name": "setta_files/setta-settings.json"
|
49
49
|
},
|
50
50
|
"36d29a06-7971-48d1-a1d2-23480f770d74": {
|
51
|
-
"name": "setta-settings.json"
|
51
|
+
"name": "setta_files/setta-settings.json"
|
52
52
|
},
|
53
53
|
"4490975a-8d8d-4f02-8ed4-f48f8258f1ec": {
|
54
|
-
"name": "setta-settings.json"
|
54
|
+
"name": "setta_files/setta-settings.json"
|
55
55
|
},
|
56
56
|
"d2c7059a-8e28-488a-aa33-056476652d5e": {
|
57
|
-
"name": "setta-settings.json"
|
57
|
+
"name": "setta_files/setta-settings.json"
|
58
58
|
}
|
59
59
|
},
|
60
60
|
"uiTypes": {
|
@@ -123,67 +123,67 @@
|
|
123
123
|
},
|
124
124
|
"uiTypeCols": {
|
125
125
|
"04f95495-52ba-4277-a79e-228bb1c6a5bc": {
|
126
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"gui\",\"panOnScrollMode\"]}": {
|
126
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"panOnScrollMode\"]}": {
|
127
127
|
"uiTypeId": "86b19dfb-742b-4d82-aa5f-5d4cca9f3d0a"
|
128
128
|
},
|
129
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"gui\",\"selectionMode\"]}": {
|
129
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"selectionMode\"]}": {
|
130
130
|
"uiTypeId": "1ec5d8de-f984-451d-b43a-78917f698d52"
|
131
131
|
},
|
132
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"gui\",\"showGridLines\"]}": {
|
132
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"showGridLines\"]}": {
|
133
133
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
134
134
|
},
|
135
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"gui\",\"gridColor\"]}": {
|
135
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"gridColor\"]}": {
|
136
136
|
"uiTypeId": "74de30af-accf-44db-9b6b-da4260f0bd60"
|
137
137
|
},
|
138
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"gui\",\"gridColorDarkMode\"]}": {
|
138
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"gridColorDarkMode\"]}": {
|
139
139
|
"uiTypeId": "74de30af-accf-44db-9b6b-da4260f0bd60"
|
140
140
|
},
|
141
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"gui\",\"gridPattern\"]}": {
|
141
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"gridPattern\"]}": {
|
142
142
|
"uiTypeId": "90f2233a-2864-498f-a4df-4c027fa0c4a4"
|
143
143
|
},
|
144
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"backend\",\"showDefaultConfigOnLoad\"]}": {
|
144
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"showDefaultConfigOnLoad\"]}": {
|
145
145
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
146
146
|
},
|
147
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"backend\",\"inferImports\"]}": {
|
147
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"inferImports\"]}": {
|
148
148
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
149
149
|
},
|
150
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"backend\",\"autosave\"]}": {
|
150
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"autosave\"]}": {
|
151
151
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
152
152
|
},
|
153
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"backend\",\"autobackup\"]}": {
|
153
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"autobackup\"]}": {
|
154
154
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
155
155
|
},
|
156
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"gui\",\"leftSidePaneShiftsMap\"]}": {
|
156
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"leftSidePaneShiftsMap\"]}": {
|
157
157
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
158
158
|
},
|
159
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"gui\",\"panOnDrag\"]}": {
|
159
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"panOnDrag\"]}": {
|
160
160
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
161
161
|
},
|
162
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"gui\",\"panOnScroll\"]}": {
|
162
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"panOnScroll\"]}": {
|
163
163
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
164
164
|
},
|
165
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"gui\",\"zoomOnScroll\"]}": {
|
165
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"zoomOnScroll\"]}": {
|
166
166
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
167
167
|
},
|
168
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"gui\",\"zoomOnPinch\"]}": {
|
168
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"zoomOnPinch\"]}": {
|
169
169
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
170
170
|
},
|
171
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"gui\",\"zoomOnDoubleClick\"]}": {
|
171
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"zoomOnDoubleClick\"]}": {
|
172
172
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
173
173
|
},
|
174
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"backend\",\"clearTerminalBeforeMarkingAsReady\"]}": {
|
174
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"clearTerminalBeforeMarkingAsReady\"]}": {
|
175
175
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
176
176
|
},
|
177
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"backend\",\"exportDbRawOnSave\"]}": {
|
177
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"exportDbRawOnSave\"]}": {
|
178
178
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
179
179
|
},
|
180
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"backend\",\"exportDbReadableOnSave\"]}": {
|
180
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"exportDbReadableOnSave\"]}": {
|
181
181
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
182
182
|
},
|
183
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"backend\",\"exportDbReadableWithVariantsOnSave\"]}": {
|
183
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"exportDbReadableWithVariantsOnSave\"]}": {
|
184
184
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
185
185
|
},
|
186
|
-
"JSON-{\"filenameGlob\":\"setta-settings*.json\",\"key\":[\"backend\",\"saveRenderedValues\"]}": {
|
186
|
+
"JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"saveRenderedValues\"]}": {
|
187
187
|
"uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
|
188
188
|
}
|
189
189
|
}
|
@@ -202,7 +202,7 @@
|
|
202
202
|
"variantIds": ["19f203aa-cae6-4ccc-928c-dab0194ade77"],
|
203
203
|
"configLanguage": "json",
|
204
204
|
"hideSearch": true,
|
205
|
-
"jsonSource": "setta-settings*.json",
|
205
|
+
"jsonSource": "setta_files/setta-settings*.json",
|
206
206
|
"jsonSourceKeys": ["shortcuts"]
|
207
207
|
},
|
208
208
|
"6b264a9a-0f87-4288-80aa-45cc6b16db96": {
|
@@ -218,7 +218,7 @@
|
|
218
218
|
"variantIds": ["f3cb4189-2692-4e75-b58f-76d632f44205"],
|
219
219
|
"configLanguage": "json",
|
220
220
|
"hideSearch": true,
|
221
|
-
"jsonSource": "setta-settings*.json",
|
221
|
+
"jsonSource": "setta_files/setta-settings*.json",
|
222
222
|
"jsonSourceKeys": ["gui"]
|
223
223
|
},
|
224
224
|
"f74b5aaf-d11d-4153-b55b-9c18e11e3a73": {
|
@@ -234,7 +234,7 @@
|
|
234
234
|
"variantIds": ["36d29a06-7971-48d1-a1d2-23480f770d74"],
|
235
235
|
"configLanguage": "json",
|
236
236
|
"hideSearch": true,
|
237
|
-
"jsonSource": "setta-settings*.json",
|
237
|
+
"jsonSource": "setta_files/setta-settings*.json",
|
238
238
|
"jsonSourceKeys": ["backend"]
|
239
239
|
},
|
240
240
|
"8389d4b3-0a1e-4c44-819b-7c745d6c3f1b": {
|
@@ -250,7 +250,7 @@
|
|
250
250
|
"variantIds": ["4490975a-8d8d-4f02-8ed4-f48f8258f1ec"],
|
251
251
|
"configLanguage": "json",
|
252
252
|
"hideSearch": true,
|
253
|
-
"jsonSource": "setta-settings*.json",
|
253
|
+
"jsonSource": "setta_files/setta-settings*.json",
|
254
254
|
"jsonSourceKeys": ["languageServer"]
|
255
255
|
},
|
256
256
|
"514c2046-25de-4b0a-b6f9-fca1dd14ad8e": {
|
@@ -266,7 +266,7 @@
|
|
266
266
|
"variantIds": ["d2c7059a-8e28-488a-aa33-056476652d5e"],
|
267
267
|
"configLanguage": "json",
|
268
268
|
"hideSearch": true,
|
269
|
-
"jsonSource": "setta-settings*.json",
|
269
|
+
"jsonSource": "setta_files/setta-settings*.json",
|
270
270
|
"jsonSourceKeys": ["sections"]
|
271
271
|
}
|
272
272
|
},
|