Skip to content

Commit 43d638c

Browse files
authored
Merge pull request #73 from isaacus-dev/release-please--branches--main--changes--next
release: 0.15.0
2 parents 9f5653e + bb42c39 commit 43d638c

File tree

5 files changed

+23
-3
lines changed

5 files changed

+23
-3
lines changed

.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.14.0"
2+
".": "0.15.0"
33
}

CHANGELOG.md

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

3+
## 0.15.0 (2026-02-04)
4+
5+
Full Changelog: [v0.14.0...v0.15.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.14.0...v0.15.0)
6+
7+
### Features
8+
9+
* **sdk:** add `decode` method to `Span`s ([bc41468](https://github.com/isaacus-dev/isaacus-python/commit/bc4146813a1b236b0740f2a74bab11311b5ef99d))
10+
311
## 0.14.0 (2026-02-04)
412

513
Full Changelog: [v0.13.0...v0.14.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.13.0...v0.14.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.14.0"
3+
version = "0.15.0"
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.14.0" # x-release-please-version
4+
__version__ = "0.15.0" # x-release-please-version

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,15 @@ class Span(BaseModel):
2626
The zero-based end index of the half-open span (i.e., the end is exclusive) of
2727
Unicode code points in the input text.
2828
"""
29+
30+
def decode(self, text: str) -> str:
31+
"""Decode the span from the given text.
32+
33+
Args:
34+
text (str): The input text from which to decode the span.
35+
36+
Returns:
37+
str: The substring of the input text corresponding to the span.
38+
"""
39+
40+
return text[self.start:self.end]

0 commit comments

Comments
 (0)