setta 0.0.15.dev1__py3-none-any.whl → 0.0.15.dev2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- setta/__init__.py +1 -1
- setta/routers/interactive.py +5 -0
- setta/static/constants/constants.json +1 -0
- setta/static/frontend/assets/{index-DodsVsiZ.js → index-CFAyqpy6.js} +168 -168
- setta/static/frontend/index.html +1 -1
- setta/tasks/tasks.py +25 -17
- {setta-0.0.15.dev1.dist-info → setta-0.0.15.dev2.dist-info}/METADATA +1 -1
- {setta-0.0.15.dev1.dist-info → setta-0.0.15.dev2.dist-info}/RECORD +12 -12
- {setta-0.0.15.dev1.dist-info → setta-0.0.15.dev2.dist-info}/LICENSE +0 -0
- {setta-0.0.15.dev1.dist-info → setta-0.0.15.dev2.dist-info}/WHEEL +0 -0
- {setta-0.0.15.dev1.dist-info → setta-0.0.15.dev2.dist-info}/entry_points.txt +0 -0
- {setta-0.0.15.dev1.dist-info → setta-0.0.15.dev2.dist-info}/top_level.txt +0 -0
setta/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.0.15.
|
1
|
+
__version__ = "0.0.15.dev2"
|
setta/routers/interactive.py
CHANGED
@@ -139,6 +139,11 @@ async def update_interactive_code(p, tasks, lsp_writers, idx):
|
|
139
139
|
return initialContent
|
140
140
|
|
141
141
|
|
142
|
+
@router.post(C.ROUTE_KILL_IN_MEMORY_SUBPROCESSES)
|
143
|
+
async def route_kill_in_memory_subprocesses(tasks=Depends(get_tasks)):
|
144
|
+
tasks.kill_in_memory_subprocesses()
|
145
|
+
|
146
|
+
|
142
147
|
@router.post(C.ROUTE_FORMAT_CODE)
|
143
148
|
async def route_format_code(x: FormatCodeRequest):
|
144
149
|
p = x.project
|
@@ -71,6 +71,7 @@
|
|
71
71
|
"ROUTE_COPY_SECTIONS": "/copySections",
|
72
72
|
"ROUTE_UPDATE_INTERACTIVE_CODE": "/updateInteractiveCode",
|
73
73
|
"ROUTE_SEND_PROJECT_TO_INTERACTIVE_CODE": "/sendProjectTointeractiveCode",
|
74
|
+
"ROUTE_KILL_IN_MEMORY_SUBPROCESSES": "/killInMemorySubprocesses",
|
74
75
|
"ROUTE_FORMAT_CODE": "/formatCode",
|
75
76
|
"ROUTE_SEND_ARTIFACT": "/sendArtfiact",
|
76
77
|
"ROUTE_LOAD_ARTIFACTS": "/loadArtifacts",
|