nucliadb 6.3.1.post3507__py3-none-any.whl → 6.3.1.post3519__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/writer/api/v1/upload.py +3 -3
- {nucliadb-6.3.1.post3507.dist-info → nucliadb-6.3.1.post3519.dist-info}/METADATA +6 -6
- {nucliadb-6.3.1.post3507.dist-info → nucliadb-6.3.1.post3519.dist-info}/RECORD +6 -6
- {nucliadb-6.3.1.post3507.dist-info → nucliadb-6.3.1.post3519.dist-info}/WHEEL +0 -0
- {nucliadb-6.3.1.post3507.dist-info → nucliadb-6.3.1.post3519.dist-info}/entry_points.txt +0 -0
- {nucliadb-6.3.1.post3507.dist-info → nucliadb-6.3.1.post3519.dist-info}/top_level.txt +0 -0
nucliadb/writer/api/v1/upload.py
CHANGED
@@ -269,7 +269,7 @@ async def _tus_post(
|
|
269
269
|
if request_content_type is None:
|
270
270
|
request_content_type = content_types.guess(metadata["filename"]) or "application/octet-stream"
|
271
271
|
|
272
|
-
if request_content_type is not None and not content_types.valid(request_content_type):
|
272
|
+
if False and request_content_type is not None and not content_types.valid(request_content_type):
|
273
273
|
raise HTTPException(
|
274
274
|
status_code=415,
|
275
275
|
detail=f"Unsupported content type: {request_content_type}",
|
@@ -555,7 +555,7 @@ async def _tus_patch(
|
|
555
555
|
creation_payload = pickle.loads(base64.b64decode(item_payload))
|
556
556
|
|
557
557
|
content_type = dm.get("metadata", {}).get("content_type")
|
558
|
-
if content_type is not None and not content_types.valid(content_type):
|
558
|
+
if False and content_type is not None and not content_types.valid(content_type):
|
559
559
|
return HTTPClientError(
|
560
560
|
status_code=415,
|
561
561
|
detail=f"Unsupported content type: {content_type}",
|
@@ -744,7 +744,7 @@ async def _upload(
|
|
744
744
|
if content_type is None:
|
745
745
|
content_type = content_types.guess(filename) or "application/octet-stream"
|
746
746
|
|
747
|
-
if not content_types.valid(content_type):
|
747
|
+
if False and not content_types.valid(content_type):
|
748
748
|
raise HTTPException(
|
749
749
|
status_code=415,
|
750
750
|
detail=f"Unsupported content type: {content_type}",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: nucliadb
|
3
|
-
Version: 6.3.1.
|
3
|
+
Version: 6.3.1.post3519
|
4
4
|
Summary: NucliaDB
|
5
5
|
Author-email: Nuclia <nucliadb@nuclia.com>
|
6
6
|
License: AGPL
|
@@ -20,11 +20,11 @@ Classifier: Programming Language :: Python :: 3.12
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
21
21
|
Requires-Python: <4,>=3.9
|
22
22
|
Description-Content-Type: text/markdown
|
23
|
-
Requires-Dist: nucliadb-telemetry[all]>=6.3.1.
|
24
|
-
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.3.1.
|
25
|
-
Requires-Dist: nucliadb-protos>=6.3.1.
|
26
|
-
Requires-Dist: nucliadb-models>=6.3.1.
|
27
|
-
Requires-Dist: nidx-protos>=6.3.1.
|
23
|
+
Requires-Dist: nucliadb-telemetry[all]>=6.3.1.post3519
|
24
|
+
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.3.1.post3519
|
25
|
+
Requires-Dist: nucliadb-protos>=6.3.1.post3519
|
26
|
+
Requires-Dist: nucliadb-models>=6.3.1.post3519
|
27
|
+
Requires-Dist: nidx-protos>=6.3.1.post3519
|
28
28
|
Requires-Dist: nucliadb-admin-assets>=1.0.0.post1224
|
29
29
|
Requires-Dist: nuclia-models>=0.24.2
|
30
30
|
Requires-Dist: uvicorn
|
@@ -323,7 +323,7 @@ nucliadb/writer/api/v1/router.py,sha256=RjuoWLpZer6Kl2BW_wznpNo6XL3BOpdTGqXZCn3Q
|
|
323
323
|
nucliadb/writer/api/v1/services.py,sha256=THnBnRxiHrEZPpBTL-E-vplEUfcD-fZpuslKRonM6xs,10286
|
324
324
|
nucliadb/writer/api/v1/slug.py,sha256=xlVBDBpRi9bNulpBHZwhyftVvulfE0zFm1XZIWl-AKY,2389
|
325
325
|
nucliadb/writer/api/v1/transaction.py,sha256=d2Vbgnkk_-FLGSTt3vfldwiJIUf0XoyD0wP1jQNz_DY,2430
|
326
|
-
nucliadb/writer/api/v1/upload.py,sha256=
|
326
|
+
nucliadb/writer/api/v1/upload.py,sha256=JEEHYdjJT61tw_g79Sv25rxnlOqcrSEG9HAHkLaQkjw,33191
|
327
327
|
nucliadb/writer/api/v1/vectorsets.py,sha256=mESaXkkI9f-jWWMW61ZZgv7E5YWXKemyc6vwT0lFXns,6747
|
328
328
|
nucliadb/writer/resource/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
|
329
329
|
nucliadb/writer/resource/audit.py,sha256=FvxMZPzrNHtd31HgpZEvxzwAkbxJTZRhPLqRYYJi3tA,1426
|
@@ -339,8 +339,8 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
|
|
339
339
|
nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
|
340
340
|
nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
|
341
341
|
nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
|
342
|
-
nucliadb-6.3.1.
|
343
|
-
nucliadb-6.3.1.
|
344
|
-
nucliadb-6.3.1.
|
345
|
-
nucliadb-6.3.1.
|
346
|
-
nucliadb-6.3.1.
|
342
|
+
nucliadb-6.3.1.post3519.dist-info/METADATA,sha256=RzdyyyV50AcY6Vta5vvMVkAyB5j8JQai1fCOHgkfBWk,4291
|
343
|
+
nucliadb-6.3.1.post3519.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
344
|
+
nucliadb-6.3.1.post3519.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
|
345
|
+
nucliadb-6.3.1.post3519.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
|
346
|
+
nucliadb-6.3.1.post3519.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|