nucliadb-models 6.2.1.post3272__py3-none-any.whl → 6.2.1.post3281__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nucliadb_models/common.py +7 -0
- {nucliadb_models-6.2.1.post3272.dist-info → nucliadb_models-6.2.1.post3281.dist-info}/METADATA +1 -1
- {nucliadb_models-6.2.1.post3272.dist-info → nucliadb_models-6.2.1.post3281.dist-info}/RECORD +5 -5
- {nucliadb_models-6.2.1.post3272.dist-info → nucliadb_models-6.2.1.post3281.dist-info}/WHEEL +0 -0
- {nucliadb_models-6.2.1.post3272.dist-info → nucliadb_models-6.2.1.post3281.dist-info}/top_level.txt +0 -0
nucliadb_models/common.py
CHANGED
|
@@ -230,6 +230,12 @@ class Representation(BaseModel):
|
|
|
230
230
|
reference_file: Optional[str] = None
|
|
231
231
|
|
|
232
232
|
|
|
233
|
+
class ParagraphRelations(BaseModel):
|
|
234
|
+
parents: list[str] = []
|
|
235
|
+
siblings: list[str] = []
|
|
236
|
+
replacements: list[str] = []
|
|
237
|
+
|
|
238
|
+
|
|
233
239
|
class Paragraph(BaseModel):
|
|
234
240
|
start: Optional[int] = None
|
|
235
241
|
end: Optional[int] = None
|
|
@@ -251,6 +257,7 @@ class Paragraph(BaseModel):
|
|
|
251
257
|
key: Optional[str] = None
|
|
252
258
|
page: Optional[PageInformation] = None
|
|
253
259
|
representation: Optional[Representation] = None
|
|
260
|
+
relations: Optional[ParagraphRelations] = None
|
|
254
261
|
|
|
255
262
|
|
|
256
263
|
class Shards(BaseModel):
|
{nucliadb_models-6.2.1.post3272.dist-info → nucliadb_models-6.2.1.post3281.dist-info}/RECORD
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
nucliadb_models/__init__.py,sha256=qSmhNKACMwdbU1rklMWlmJKmlRaWvrSksTtwEVkiydQ,1331
|
|
2
|
-
nucliadb_models/common.py,sha256=
|
|
2
|
+
nucliadb_models/common.py,sha256=JEEY7_AxRCBPHUF6J8XptR_QnGEjRBd02Kqm5WOySYc,7828
|
|
3
3
|
nucliadb_models/configuration.py,sha256=pKtxS8G_tGaJkvKopVeorZTuOEirlg-VLcpxUEAn2lc,1359
|
|
4
4
|
nucliadb_models/content_types.py,sha256=2B3TJpPYJqd-9xGiNiHJFngSIrVyNsZlN4PeB-HafIk,3682
|
|
5
5
|
nucliadb_models/conversation.py,sha256=i9x80US5e2I40zIIxeQg8BtaNri_qmuk1cSb_6VZu6U,3845
|
|
@@ -27,7 +27,7 @@ nucliadb_models/writer.py,sha256=OLtCGmicpVf56pXi2_myTAvStpnaBKKOVNtZzHkKKtw,847
|
|
|
27
27
|
nucliadb_models/internal/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
|
|
28
28
|
nucliadb_models/internal/predict.py,sha256=5rgUPrH_98gerySOZ-TR2PX_qzCGF1_8VxyOu3bGhis,2281
|
|
29
29
|
nucliadb_models/internal/shards.py,sha256=uZLsMkYWrJDHq3xy_w7snSeV2X3aDBuht9GC_MG3sKc,1976
|
|
30
|
-
nucliadb_models-6.2.1.
|
|
31
|
-
nucliadb_models-6.2.1.
|
|
32
|
-
nucliadb_models-6.2.1.
|
|
33
|
-
nucliadb_models-6.2.1.
|
|
30
|
+
nucliadb_models-6.2.1.post3281.dist-info/METADATA,sha256=67Hez-gqzfdk9KWpaAbegYkfdM2z7QrA6AVhitcsv7M,759
|
|
31
|
+
nucliadb_models-6.2.1.post3281.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
32
|
+
nucliadb_models-6.2.1.post3281.dist-info/top_level.txt,sha256=UrY1I8oeovIRwkXLYplssTrxQdUjhSEFDFbnwaIV3tA,16
|
|
33
|
+
nucliadb_models-6.2.1.post3281.dist-info/RECORD,,
|
|
File without changes
|
{nucliadb_models-6.2.1.post3272.dist-info → nucliadb_models-6.2.1.post3281.dist-info}/top_level.txt
RENAMED
|
File without changes
|