Skip to content

Commit de27493

Browse files
authored
Merge pull request #76 from isaacus-dev/release-please--branches--main--changes--next
release: 0.17.1
2 parents c010615 + 03f1f76 commit de27493

8 files changed

Lines changed: 53 additions & 24 deletions

File tree

.release-please-manifest.json

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

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 5
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-a9cacf65cf152a5f4fdd8de8d28c979452c67c28a7e765075638b817d330d121.yml
3-
openapi_spec_hash: 8343f878342e9d128695b85fecb93dc5
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-fd2419c8cf8666e821f55c4cc5a5402900c443e2db59b3e53cfb46fd5bb52316.yml
3+
openapi_spec_hash: a92a4436234b019c9c23feb11b1f2f28
44
config_hash: 9040e7359f066240ad536041fb2c5185

CHANGELOG.md

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

3+
## 0.17.1 (2026-02-07)
4+
5+
Full Changelog: [v0.17.0...v0.17.1](https://github.com/isaacus-dev/isaacus-python/compare/v0.17.0...v0.17.1)
6+
7+
### Documentation
8+
9+
* **api:** alter def of politic person type ([92e2ee6](https://github.com/isaacus-dev/isaacus-python/commit/92e2ee6510a765a774fab72b2481b9aeb5b69ba0))
10+
* **api:** documented ILGS `contract` type ([5c31f2a](https://github.com/isaacus-dev/isaacus-python/commit/5c31f2a090879eceef8d808c5d9684d6452289ef))
11+
* **api:** move around attribute comments ([7c959e9](https://github.com/isaacus-dev/isaacus-python/commit/7c959e9c159cd22ccfbd7d608428ef2c0c9df921))
12+
* **api:** note docs are enriched into ilgs v1 ([27a7ced](https://github.com/isaacus-dev/isaacus-python/commit/27a7ced29864194a693b7ae3e72f75e77ebe55ee))
13+
314
## 0.17.0 (2026-02-05)
415

516
Full Changelog: [v0.16.0...v0.17.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.16.0...v0.17.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 = "isaacus"
3-
version = "0.17.0"
3+
version = "0.17.1"
44
description = "The official Python library for the isaacus API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/isaacus/_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__ = "isaacus"
4-
__version__ = "0.17.0" # x-release-please-version
4+
__version__ = "0.17.1" # x-release-please-version

src/isaacus/types/enrichment_response.py

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,12 @@ class Result(BaseModel):
1818
"""
1919

2020
document: Document
21-
"""The enriched document."""
22-
23-
24-
class Usage(BaseModel):
25-
"""Statistics about the usage of resources in the process of enriching the input."""
26-
27-
input_tokens: int
28-
"""The total number of tokens inputted to the model."""
29-
30-
31-
class EnrichmentResponse(BaseModel):
32-
results: List[Result]
3321
"""
34-
The input documents enriched into version 1.0.0 of the Isaacus Legal Graph
35-
Schema (IGLS).
22+
The document enriched into version 1.0.0 of the Isaacus Legal Graph Schema
23+
(IGLS).
3624
3725
All spans in an enriched document graph are indexed into the Unicode code point
38-
space of a source document. Access to source documents is thus required to
39-
resolve spans into text.
26+
space of a source document.
4027
4128
The start and end indices of spans are zero-based (i.e., the first Unicode code
4229
point in the document is at index 0) and half-open (i.e., the end index is
@@ -56,5 +43,20 @@ class EnrichmentResponse(BaseModel):
5643
instead of Unicode code points).
5744
"""
5845

46+
47+
class Usage(BaseModel):
48+
"""Statistics about the usage of resources in the process of enriching the input."""
49+
50+
input_tokens: int
51+
"""The total number of tokens inputted to the model."""
52+
53+
54+
class EnrichmentResponse(BaseModel):
55+
results: List[Result]
56+
"""
57+
The enriched documents alongside, and in order of, their indices in the input
58+
array of texts.
59+
"""
60+
5961
usage: Usage
6062
"""Statistics about the usage of resources in the process of enriching the input."""

src/isaacus/types/ilgs/v1/document.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,21 @@
2222

2323

2424
class Document(BaseModel):
25-
"""The enriched document."""
25+
"""
26+
The document enriched into version 1.0.0 of the Isaacus Legal Graph Schema (IGLS).
27+
28+
All spans in an enriched document graph are indexed into the Unicode code point space of a source document.
29+
30+
The start and end indices of spans are zero-based (i.e., the first Unicode code point in the document is at index 0) and half-open (i.e., the end index is exclusive).
31+
32+
All spans are globally laminar and well-nested similar to XML—it is impossible for any two spans to partially overlap; they can only be disjoint, adjacent, or wholly nested.
33+
34+
Spans of the exact same type (e.g., segments) will never be duplicated.
35+
36+
Spans cannot be empty and will never start or end at whitespace.
37+
38+
When using programming languages other than Python (which uses zero-based, half-open, Unicode code point-spaced string indexing), indices may need to be translated accordingly (for example, JavaScript slices into UTF-16 code units instead of Unicode code points).
39+
"""
2640

2741
text: str
2842
"""The text of the document."""
@@ -73,6 +87,8 @@ class Document(BaseModel):
7387
`decision` denotes judicial or quasi-judicial decisions such as court judgments,
7488
judicial opinions, and tribunal rulings.
7589
90+
`contract` denotes contracts, covenants, and agreements.
91+
7692
`other` is used for all other types of legal documents that do not fit into any
7793
of the predefined types.
7894
"""

src/isaacus/types/ilgs/v1/person.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ class Person(BaseModel):
4646
`corporate` denotes a body corporate such as a company, incorporated
4747
partnership, or statutory corporation.
4848
49-
`politic` denotes a body politic such as a court, state, government, or
50-
intergovernmental organization.
49+
`politic` denotes a body politic, political entity, or part thereof such as a
50+
court, state, government, or intergovernmental organization.
5151
"""
5252

5353
role: Literal[

0 commit comments

Comments
 (0)