Skip to content

Commit 2b81647

Browse files
docs(api): improve explanation of extractable dates
1 parent df775e3 commit 2b81647

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

.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-c2daec78d4c8e6d2e3287d34c5e9942132570c9e1fdac06c5841f60bdbf5c46a.yml
3-
openapi_spec_hash: 4f6444095194489842b0bab2172becd0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-184e5212bf13e5e8466cc91706965bb8a04b6c4d9b085f5a966d2247d8ab4f3a.yml
3+
openapi_spec_hash: 5c647e80faf91f601598831eae3f5904
44
config_hash: 9040e7359f066240ad536041fb2c5185

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
class Date(BaseModel):
1313
"""
14-
A date identified in a document belonging to one of the following types: `creation`, `signature`, `effective`, `expiry`, `delivery`, `renewal`, `payment`, `birth`, or `death`.
14+
An array of dates identified in the document belonging to one of the following types: `creation`, `signature`, `effective`, `expiry`, `delivery`, `renewal`, `payment`, `birth`, or `death`.
1515
16-
Only Gregorian dates between the years 1000 and 9999 (inclusive) fitting into one of the supported date types are extractable.
16+
Only full Gregorian dates (i.e., including a day, month, and year) between the years 1000 and 9999 (inclusive) fitting into one of the supported date types are extractable.
1717
"""
1818

1919
value: str

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,9 @@ class Document(BaseModel):
174174
types: `creation`, `signature`, `effective`, `expiry`, `delivery`, `renewal`,
175175
`payment`, `birth`, or `death`.
176176
177-
Only Gregorian dates between the years 1000 and 9999 (inclusive) fitting into
178-
one of the supported date types are extractable.
177+
Only full Gregorian dates (i.e., including a day, month, and year) between the
178+
years 1000 and 9999 (inclusive) fitting into one of the supported date types are
179+
extractable.
179180
"""
180181

181182
headings: List[Span]

0 commit comments

Comments
 (0)