Skip to content

Commit 7c50a7c

Browse files
authored
Merge pull request #21 from isaacus-dev/release-please--branches--main--changes--next
release: 0.1.2
2 parents d7b5b04 + 59e6edb commit 7c50a7c

File tree

6 files changed

+42
-5
lines changed

6 files changed

+42
-5
lines changed

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.1"
2+
".": "0.1.2"
33
}

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## 0.1.2 (2025-03-14)
4+
5+
Full Changelog: [v0.1.1...v0.1.2](https://github.com/isaacus-dev/isaacus-python/compare/v0.1.1...v0.1.2)
6+
7+
### Features
8+
9+
* **api:** added latest OpenAPI specification ([#20](https://github.com/isaacus-dev/isaacus-python/issues/20)) ([a9c1c23](https://github.com/isaacus-dev/isaacus-python/commit/a9c1c2342202dd0fc29fbc350104a8a0a70e8592))
10+
11+
12+
### Chores
13+
14+
* **internal:** codegen related update ([#22](https://github.com/isaacus-dev/isaacus-python/issues/22)) ([6c913e4](https://github.com/isaacus-dev/isaacus-python/commit/6c913e4dd83b070f7796f535e22cbe5b82287115))
15+
* **internal:** remove extra empty newlines ([#23](https://github.com/isaacus-dev/isaacus-python/issues/23)) ([39adf10](https://github.com/isaacus-dev/isaacus-python/commit/39adf10b15bf5e03d6554a37d1b5181a32088624))
16+
* update SDK settings ([#24](https://github.com/isaacus-dev/isaacus-python/issues/24)) ([914555c](https://github.com/isaacus-dev/isaacus-python/commit/914555c31d1317220c574a274c1b2ae9eae6f4dc))
17+
318
## 0.1.1 (2025-03-08)
419

520
Full Changelog: [v0.1.0-alpha.1...v0.1.1](https://github.com/isaacus-dev/isaacus-python/compare/v0.1.0-alpha.1...v0.1.1)

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,28 @@ Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typ
8181

8282
Typed requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.
8383

84+
## Nested params
85+
86+
Nested parameters are dictionaries, typed using `TypedDict`, for example:
87+
88+
```python
89+
from isaacus import Isaacus
90+
91+
client = Isaacus()
92+
93+
universal_classification = client.classifications.universal.create(
94+
model="kanon-universal-classifier",
95+
query="This is a confidentiality clause.",
96+
text="I agree not to tell anyone about the document.",
97+
chunking_options={
98+
"overlap_ratio": 0.1,
99+
"overlap_tokens": 0,
100+
"size": 512,
101+
},
102+
)
103+
print(universal_classification.chunking_options)
104+
```
105+
84106
## Handling errors
85107

86108
When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `isaacus.APIConnectionError` is raised.

pyproject.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "isaacus"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "The official Python library for the isaacus API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"
@@ -38,7 +38,6 @@ Homepage = "https://github.com/isaacus-dev/isaacus-python"
3838
Repository = "https://github.com/isaacus-dev/isaacus-python"
3939

4040

41-
4241
[tool.rye]
4342
managed = true
4443
# version pins are in requirements-dev.lock
@@ -152,7 +151,6 @@ reportImplicitOverride = true
152151
reportImportCycles = false
153152
reportPrivateUsage = false
154153

155-
156154
[tool.ruff]
157155
line-length = 120
158156
output-format = "grouped"

scripts/test

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ else
5252
echo
5353
fi
5454

55+
export DEFER_PYDANTIC_BUILD=false
56+
5557
echo "==> Running tests"
5658
rye run pytest "$@"
5759

src/isaacus/_version.py

+1-1
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__ = "isaacus"
4-
__version__ = "0.1.1" # x-release-please-version
4+
__version__ = "0.1.2" # x-release-please-version

0 commit comments

Comments
 (0)