Skip to content

Commit

Permalink
chore(internal): codegen related update (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Sep 13, 2024
1 parent 81fec16 commit 31ce301
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ client = Riza(
api_key=os.environ.get("RIZA_API_KEY"),
)

command_exec_response = client.command.exec(
response = client.command.exec(
code='print("Hello world!")',
)
print(command_exec_response.exit_code)
print(response.exit_code)
```

While you can provide an `api_key` keyword argument,
Expand All @@ -59,10 +59,10 @@ client = AsyncRiza(


async def main() -> None:
command_exec_response = await client.command.exec(
response = await client.command.exec(
code='print("Hello world!")',
)
print(command_exec_response.exit_code)
print(response.exit_code)


asyncio.run(main())
Expand Down

0 comments on commit 31ce301

Please sign in to comment.