Add JSON-safe serialization
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user