From 8c8d262191b89e96262bfb7ed8f695abc4a18974 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 23:00:43 +0000 Subject: [PATCH] feat(api): api update --- .stats.yml | 2 +- src/rizaio/resources/command.py | 4 ++-- src/rizaio/types/command_exec_func_params.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index e05f902..4233cb0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 15 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/riza%2Friza-api-0707c4b63d218a8dcab888e23b8cbb5089c4e14d5f8fe21457f3be6b2f1e1def.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/riza%2Friza-api-32ef22a311a9e34999c31107dc130386b25a8a3931abc1829e8f18d04f092596.yml diff --git a/src/rizaio/resources/command.py b/src/rizaio/resources/command.py index 54371f5..7373924 100644 --- a/src/rizaio/resources/command.py +++ b/src/rizaio/resources/command.py @@ -130,7 +130,7 @@ def exec_func( self, *, code: str, - language: Literal["python", "javascript", "typescript", "ruby", "php"], + language: Literal["python", "javascript", "typescript"], env: Dict[str, str] | NotGiven = NOT_GIVEN, files: Iterable[command_exec_func_params.File] | NotGiven = NOT_GIVEN, http: Optional[command_exec_func_params.HTTP] | NotGiven = NOT_GIVEN, @@ -297,7 +297,7 @@ async def exec_func( self, *, code: str, - language: Literal["python", "javascript", "typescript", "ruby", "php"], + language: Literal["python", "javascript", "typescript"], env: Dict[str, str] | NotGiven = NOT_GIVEN, files: Iterable[command_exec_func_params.File] | NotGiven = NOT_GIVEN, http: Optional[command_exec_func_params.HTTP] | NotGiven = NOT_GIVEN, diff --git a/src/rizaio/types/command_exec_func_params.py b/src/rizaio/types/command_exec_func_params.py index f5c9340..2f00b53 100644 --- a/src/rizaio/types/command_exec_func_params.py +++ b/src/rizaio/types/command_exec_func_params.py @@ -27,7 +27,7 @@ class CommandExecFuncParams(TypedDict, total=False): and returns a JSON-serializable value. """ - language: Required[Literal["python", "javascript", "typescript", "ruby", "php"]] + language: Required[Literal["python", "javascript", "typescript"]] """The interpreter to use when executing code.""" env: Dict[str, str]