nucliadb-models 6.9.0.post5072__py3-none-any.whl → 6.9.0.post5078__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.
Potentially problematic release.
This version of nucliadb-models might be problematic. Click here for more details.
- nucliadb_models/common.py +9 -0
- {nucliadb_models-6.9.0.post5072.dist-info → nucliadb_models-6.9.0.post5078.dist-info}/METADATA +1 -1
- {nucliadb_models-6.9.0.post5072.dist-info → nucliadb_models-6.9.0.post5078.dist-info}/RECORD +5 -5
- {nucliadb_models-6.9.0.post5072.dist-info → nucliadb_models-6.9.0.post5078.dist-info}/WHEEL +0 -0
- {nucliadb_models-6.9.0.post5072.dist-info → nucliadb_models-6.9.0.post5078.dist-info}/top_level.txt +0 -0
nucliadb_models/common.py
CHANGED
|
@@ -203,6 +203,15 @@ class FieldTypeName(str, Enum):
|
|
|
203
203
|
"a": FieldTypeName.GENERIC,
|
|
204
204
|
}[abbr]
|
|
205
205
|
|
|
206
|
+
def abbreviation(self) -> str:
|
|
207
|
+
return {
|
|
208
|
+
FieldTypeName.TEXT: "t",
|
|
209
|
+
FieldTypeName.FILE: "f",
|
|
210
|
+
FieldTypeName.LINK: "u",
|
|
211
|
+
FieldTypeName.CONVERSATION: "c",
|
|
212
|
+
FieldTypeName.GENERIC: "a",
|
|
213
|
+
}[self]
|
|
214
|
+
|
|
206
215
|
|
|
207
216
|
class FieldRef(BaseModel):
|
|
208
217
|
field_type: FieldTypeName
|
{nucliadb_models-6.9.0.post5072.dist-info → nucliadb_models-6.9.0.post5078.dist-info}/RECORD
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
nucliadb_models/__init__.py,sha256=3y8-htogKuCZcbhaUZdSjTeEjUSeec9aRWyL8AlKCyM,1077
|
|
2
|
-
nucliadb_models/common.py,sha256=
|
|
2
|
+
nucliadb_models/common.py,sha256=2dtKG4ZNi9p-yoNY76Uvyu1SlMeNYpH-MnuU3Q6w9Js,8169
|
|
3
3
|
nucliadb_models/configuration.py,sha256=aTV5mBwYFlwiV1_nWyVAXaCh7F6lDVTVh28Xfwy8ox8,2448
|
|
4
4
|
nucliadb_models/content_types.py,sha256=36Ga-iGf4ivCqgtXC7imFgegrwHB117s9eqP62JtGv0,3456
|
|
5
5
|
nucliadb_models/conversation.py,sha256=t1u7CBMLJxoNad1RPeh9dmsXgMOzs2NCIDvhJa4RYxQ,5121
|
|
@@ -33,7 +33,7 @@ nucliadb_models/graph/responses.py,sha256=Sdq8OgFAL1YT-1lJyLLrkqcScvj7YTEqAUwQ-k
|
|
|
33
33
|
nucliadb_models/internal/__init__.py,sha256=zG33bUz1rHFPtvqQPWn4rDwBJt3FJodGuQYD45quiQg,583
|
|
34
34
|
nucliadb_models/internal/predict.py,sha256=Pnx6MmLfK65eExe1XnVxqmSlvMwdowewwks9BOEoqMw,2029
|
|
35
35
|
nucliadb_models/internal/shards.py,sha256=__y1OZtWGiNcPQEWfSFOj8yw458WGi7mM4vZe0K-L1Y,1691
|
|
36
|
-
nucliadb_models-6.9.0.
|
|
37
|
-
nucliadb_models-6.9.0.
|
|
38
|
-
nucliadb_models-6.9.0.
|
|
39
|
-
nucliadb_models-6.9.0.
|
|
36
|
+
nucliadb_models-6.9.0.post5078.dist-info/METADATA,sha256=rFXyCRxWmJquKz_1golr87oD0IFut7zm1XFxIpuDPGo,794
|
|
37
|
+
nucliadb_models-6.9.0.post5078.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
38
|
+
nucliadb_models-6.9.0.post5078.dist-info/top_level.txt,sha256=UrY1I8oeovIRwkXLYplssTrxQdUjhSEFDFbnwaIV3tA,16
|
|
39
|
+
nucliadb_models-6.9.0.post5078.dist-info/RECORD,,
|
|
File without changes
|
{nucliadb_models-6.9.0.post5072.dist-info → nucliadb_models-6.9.0.post5078.dist-info}/top_level.txt
RENAMED
|
File without changes
|