Skip to content

Commit 4c85fc2

Browse files
authored
Add docstrings for _models/completions/token.py - v1
1 parent 724c952 commit 4c85fc2

File tree

1 file changed

+5
-0
lines changed
  • src/yandex_cloud_ml_sdk/_models/completions

1 file changed

+5
-0
lines changed

src/yandex_cloud_ml_sdk/_models/completions/token.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,13 @@
99

1010
@dataclass(frozen=True)
1111
class Token:
12+
"""This class encapsulates the properties of a token
13+
and represents it in a text processing context."""
14+
#: a unique identifier for the token
1215
id: int
16+
#: a flag indicating if the token is a special one
1317
special: bool
18+
#: the textual representation of the token
1419
text: str
1520

1621
@classmethod

0 commit comments

Comments
 (0)