Skip to content

Commit 7da3c7d

Browse files
release: 1.1.1 (#103)
* codegen metadata * codegen metadata * chore(internal): update client tests (#102) * release: 1.1.1 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent fb7ec43 commit 7da3c7d

File tree

6 files changed

+54
-32
lines changed

6 files changed

+54
-32
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.1.0"
2+
".": "1.1.1"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 12
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-b51c646e673aa07b32ac0ee1c8eebe4be70e67681ad9eccb9d7a651bc42a6e04.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-e8018130b37ed5edd723ea7d399d3db7d0b6e0d65962414da07ed981e960bcb3.yml

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.1.1 (2025-02-13)
4+
5+
Full Changelog: [v1.1.0...v1.1.1](https://github.com/ArcadeAI/arcade-py/compare/v1.1.0...v1.1.1)
6+
7+
### Chores
8+
9+
* **internal:** update client tests ([#102](https://github.com/ArcadeAI/arcade-py/issues/102)) ([0607580](https://github.com/ArcadeAI/arcade-py/commit/06075801fe24e88ee7751c064ae00d8a0d597bdf))
10+
311
## 1.1.0 (2025-02-07)
412

513
Full Changelog: [v1.0.1...v1.1.0](https://github.com/ArcadeAI/arcade-py/compare/v1.0.1...v1.1.0)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "arcadepy"
3-
version = "1.1.0"
3+
version = "1.1.1"
44
description = "The official Python library for the Arcade API"
55
dynamic = ["readme"]
66
license = "MIT"

src/arcadepy/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "arcadepy"
4-
__version__ = "1.1.0" # x-release-please-version
4+
__version__ = "1.1.1" # x-release-please-version

tests/test_client.py

Lines changed: 42 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
from arcadepy import Arcade, AsyncArcade, APIResponseValidationError
2525
from arcadepy._types import Omit
26+
from arcadepy._utils import maybe_transform
2627
from arcadepy._models import BaseModel, FinalRequestOptions
2728
from arcadepy._constants import RAW_RESPONSE_HEADER
2829
from arcadepy._exceptions import ArcadeError, APIStatusError, APITimeoutError, APIResponseValidationError
@@ -32,6 +33,7 @@
3233
BaseClient,
3334
make_request_options,
3435
)
36+
from arcadepy.types.chat.completion_create_params import CompletionCreateParams
3537

3638
from .utils import update_env
3739

@@ -717,13 +719,16 @@ def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter) -> No
717719
"/v1/chat/completions",
718720
body=cast(
719721
object,
720-
dict(
721-
messages=[
722-
{
723-
"role": "user",
724-
"content": "Hello, how can I use Arcade AI?",
725-
}
726-
]
722+
maybe_transform(
723+
dict(
724+
messages=[
725+
{
726+
"role": "user",
727+
"content": "Hello, how can I use Arcade AI?",
728+
}
729+
]
730+
),
731+
CompletionCreateParams,
727732
),
728733
),
729734
cast_to=httpx.Response,
@@ -742,13 +747,16 @@ def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter) -> Non
742747
"/v1/chat/completions",
743748
body=cast(
744749
object,
745-
dict(
746-
messages=[
747-
{
748-
"role": "user",
749-
"content": "Hello, how can I use Arcade AI?",
750-
}
751-
]
750+
maybe_transform(
751+
dict(
752+
messages=[
753+
{
754+
"role": "user",
755+
"content": "Hello, how can I use Arcade AI?",
756+
}
757+
]
758+
),
759+
CompletionCreateParams,
752760
),
753761
),
754762
cast_to=httpx.Response,
@@ -1513,13 +1521,16 @@ async def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter)
15131521
"/v1/chat/completions",
15141522
body=cast(
15151523
object,
1516-
dict(
1517-
messages=[
1518-
{
1519-
"role": "user",
1520-
"content": "Hello, how can I use Arcade AI?",
1521-
}
1522-
]
1524+
maybe_transform(
1525+
dict(
1526+
messages=[
1527+
{
1528+
"role": "user",
1529+
"content": "Hello, how can I use Arcade AI?",
1530+
}
1531+
]
1532+
),
1533+
CompletionCreateParams,
15231534
),
15241535
),
15251536
cast_to=httpx.Response,
@@ -1538,13 +1549,16 @@ async def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter)
15381549
"/v1/chat/completions",
15391550
body=cast(
15401551
object,
1541-
dict(
1542-
messages=[
1543-
{
1544-
"role": "user",
1545-
"content": "Hello, how can I use Arcade AI?",
1546-
}
1547-
]
1552+
maybe_transform(
1553+
dict(
1554+
messages=[
1555+
{
1556+
"role": "user",
1557+
"content": "Hello, how can I use Arcade AI?",
1558+
}
1559+
]
1560+
),
1561+
CompletionCreateParams,
15481562
),
15491563
),
15501564
cast_to=httpx.Response,

0 commit comments

Comments
 (0)