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 CHANGED
@@ -1 +1 @@
1
- __version__ = "0.0.15.dev1"
1
+ __version__ = "0.0.15.dev2"
@@ -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",