1
Fork 0
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:
Steffo 2023-02-04 05:29:03 +01:00
parent 2675f5ead8
commit 4af654a2fa
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -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]