Skip to content

Commit ea0a95e

Browse files
committed
SDK regeneration
1 parent d736f9a commit ea0a95e

5 files changed

Lines changed: 7 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ import asyncio
3939
client = AsyncMonite(monite_version="YOUR_MONITE_VERSION", monite_entity_id="YOUR_MONITE_ENTITY_ID", token="YOUR_TOKEN", )
4040
async def main() -> None:
4141
await client.products.create(name='name', )
42-
asyncio.run(main())```
42+
asyncio.run(main())
43+
```
4344

4445
## Exception Handling
4546

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "monite"
33

44
[tool.poetry]
55
name = "monite"
6-
version = "0.5.2"
6+
version = "0.5.3"
77
description = ""
88
readme = "README.md"
99
authors = []

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
httpx>=0.21.2
22
pydantic>= 1.9.2
3-
pydantic-core==^2.18.2
3+
pydantic-core==2.18.2
44
typing_extensions>= 4.0.0

src/monite/core/client_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ def __init__(
2424

2525
def get_headers(self) -> typing.Dict[str, str]:
2626
headers: typing.Dict[str, str] = {
27-
"User-Agent": "monite/0.5.2",
27+
"User-Agent": "monite/0.5.3",
2828
"X-Fern-Language": "Python",
2929
"X-Fern-SDK-Name": "monite",
30-
"X-Fern-SDK-Version": "0.5.2",
30+
"X-Fern-SDK-Version": "0.5.3",
3131
}
3232
headers["x-monite-version"] = self._monite_version
3333
if self._monite_entity_id is not None:

src/monite/core/pydantic_utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def deep_union_pydantic_dicts(source: Dict[str, Any], destination: Dict[str, Any
181181

182182
if IS_PYDANTIC_V2:
183183

184-
class V2RootModel(UniversalBaseModel, pydantic.RootModel): # type: ignore[name-defined, type-arg]
184+
class V2RootModel(UniversalBaseModel, pydantic.RootModel): # type: ignore[misc, name-defined, type-arg]
185185
pass
186186

187187
UniversalRootModel: TypeAlias = V2RootModel # type: ignore[misc]

0 commit comments

Comments
 (0)