Skip to content

Commit cd485eb

Browse files
feat(sdk): move ilgs structs around
1 parent 63e8455 commit cd485eb

20 files changed

Lines changed: 1109 additions & 980 deletions

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 5
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-eb64c01e148bcb3f02d717248b3e1ff4f554779928ae52a689c1c73bafee470d.yml
33
openapi_spec_hash: 167ee6ce237a5f0d28d99411bc4dc920
4-
config_hash: b2d6fd9ef31cd192d6abb7fceb12e578
4+
config_hash: 7b8cddc2fa896f9ab05e6b05055c7f27

api.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,25 @@ Methods:
6666

6767
## v1
6868

69+
### v1
70+
6971
Types:
7072

7173
```python
72-
from isaacus.types.ilgs import ILGSv1Document, ILGSv1Span
74+
from isaacus.types.ilgs.v1 import (
75+
Crossreference,
76+
Date,
77+
Document,
78+
Email,
79+
ExternalDocument,
80+
IDNumber,
81+
Location,
82+
Person,
83+
PhoneNumber,
84+
Quote,
85+
Segment,
86+
Span,
87+
Term,
88+
Website,
89+
)
7390
```

src/isaacus/types/enrichment_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from typing import List
44

55
from .._models import BaseModel
6-
from .ilgs.ilgs_v1_document import ILGSv1Document
6+
from .ilgs.v1.document import Document
77

88
__all__ = ["EnrichmentResponse", "Result", "Usage"]
99

@@ -17,7 +17,7 @@ class Result(BaseModel):
1717
therefore, ending at the number of inputs minus `1`).
1818
"""
1919

20-
document: ILGSv1Document
20+
document: Document
2121
"""The enriched document."""
2222

2323

src/isaacus/types/ilgs/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
from __future__ import annotations
4-
5-
from .ilgs_v1_span import ILGSv1Span as ILGSv1Span
6-
from .ilgs_v1_document import ILGSv1Document as ILGSv1Document

0 commit comments

Comments
 (0)