File tree Expand file tree Collapse file tree 5 files changed +23
-3
lines changed
Expand file tree Collapse file tree 5 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 11{
2- "." : " 0.14 .0"
2+ "." : " 0.15 .0"
33}
Original file line number Diff line number Diff line change 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
513Full Changelog: [ v0.13.0...v0.14.0] ( https://github.com/isaacus-dev/isaacus-python/compare/v0.13.0...v0.14.0 )
Original file line number Diff line number Diff line change 11[project ]
22name = " isaacus"
3- version = " 0.14 .0"
3+ version = " 0.15 .0"
44description = " The official Python library for the isaacus API"
55dynamic = [" readme" ]
66license = " Apache-2.0"
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 ]
You can’t perform that action at this time.
0 commit comments