Add JSON-safe serialization

This commit is contained in:
lda
2026-08-30 07:08:24 +07:00 Verified
parent acec75cf7e
commit acd412a50a
6 changed files with 113 additions and 8 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ def run_code_2(
options: Annotated[CallOptions, Depends()],
shell_name: Annotated[
Literal["last", "new"] | str,
Query("last", description="The shell to run code in"),
Query(description="The shell to run code in"),
] = "last",
):
return ShellApp.run_code(code, shell_name, options=options)