mirror of
https://github.com/Steffo99/unimore-bda-6.git
synced 2024-11-25 01:04:19 +00:00
Make the namedtuple verbose
This commit is contained in:
parent
2675f5ead8
commit
4af654a2fa
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class Review(t.TypedDict):
|
||||||
|
|
||||||
Text = str
|
Text = str
|
||||||
Category = float
|
Category = float
|
||||||
DataTuple = collections.namedtuple("DataTuple", ["text", "category"])
|
DataTuple = collections.namedtuple("DataTuple", ["text", "category"], verbose=True)
|
||||||
DataSet = t.Iterable[DataTuple]
|
DataSet = t.Iterable[DataTuple]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue