nucliadb 6.7.0.post4805__py3-none-any.whl → 6.7.0.post4806__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/export_import/datamanager.py +2 -2
- nucliadb/openapi.py +1 -1
- {nucliadb-6.7.0.post4805.dist-info → nucliadb-6.7.0.post4806.dist-info}/METADATA +6 -6
- {nucliadb-6.7.0.post4805.dist-info → nucliadb-6.7.0.post4806.dist-info}/RECORD +7 -7
- {nucliadb-6.7.0.post4805.dist-info → nucliadb-6.7.0.post4806.dist-info}/WHEEL +0 -0
- {nucliadb-6.7.0.post4805.dist-info → nucliadb-6.7.0.post4806.dist-info}/entry_points.txt +0 -0
- {nucliadb-6.7.0.post4805.dist-info → nucliadb-6.7.0.post4806.dist-info}/top_level.txt +0 -0
@@ -18,7 +18,7 @@
|
|
18
18
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
import json
|
21
|
-
from datetime import datetime
|
21
|
+
from datetime import datetime, timezone
|
22
22
|
from typing import AsyncGenerator, Type, Union, cast
|
23
23
|
|
24
24
|
from nucliadb.common.maindb.driver import Driver
|
@@ -86,7 +86,7 @@ class ExportImportDataManager:
|
|
86
86
|
):
|
87
87
|
metadata.processed = metadata.processed or 0
|
88
88
|
metadata.total = metadata.total or 0
|
89
|
-
metadata.modified = datetime.
|
89
|
+
metadata.modified = datetime.now(timezone.utc)
|
90
90
|
key = self._get_maindb_metadata_key(type, metadata.kbid, metadata.id)
|
91
91
|
data = metadata.model_dump_json().encode("utf-8")
|
92
92
|
async with self.driver.transaction() as txn:
|
nucliadb/openapi.py
CHANGED
@@ -54,7 +54,7 @@ def extract_openapi(application, version, commit_id, app_name):
|
|
54
54
|
document["x-metadata"] = {
|
55
55
|
app_name: {
|
56
56
|
"commit": commit_id,
|
57
|
-
"last_updated": datetime.datetime.
|
57
|
+
"last_updated": datetime.datetime.now(datetime.timezone.utc).isoformat(),
|
58
58
|
}
|
59
59
|
}
|
60
60
|
return document
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nucliadb
|
3
|
-
Version: 6.7.0.
|
3
|
+
Version: 6.7.0.post4806
|
4
4
|
Summary: NucliaDB
|
5
5
|
Author-email: Nuclia <nucliadb@nuclia.com>
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
@@ -19,11 +19,11 @@ Classifier: Programming Language :: Python :: 3.12
|
|
19
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
20
20
|
Requires-Python: <4,>=3.9
|
21
21
|
Description-Content-Type: text/markdown
|
22
|
-
Requires-Dist: nucliadb-telemetry[all]>=6.7.0.
|
23
|
-
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.7.0.
|
24
|
-
Requires-Dist: nucliadb-protos>=6.7.0.
|
25
|
-
Requires-Dist: nucliadb-models>=6.7.0.
|
26
|
-
Requires-Dist: nidx-protos>=6.7.0.
|
22
|
+
Requires-Dist: nucliadb-telemetry[all]>=6.7.0.post4806
|
23
|
+
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.7.0.post4806
|
24
|
+
Requires-Dist: nucliadb-protos>=6.7.0.post4806
|
25
|
+
Requires-Dist: nucliadb-models>=6.7.0.post4806
|
26
|
+
Requires-Dist: nidx-protos>=6.7.0.post4806
|
27
27
|
Requires-Dist: nucliadb-admin-assets>=1.0.0.post1224
|
28
28
|
Requires-Dist: nuclia-models>=0.46.0
|
29
29
|
Requires-Dist: uvicorn[standard]
|
@@ -49,7 +49,7 @@ nucliadb/__init__.py,sha256=_abCmDJ_0ku483Os4UAjPX7Nywm39cQgAV_DiyjsKeQ,891
|
|
49
49
|
nucliadb/health.py,sha256=UIxxA4oms4HIsCRZM_SZsdkIZIlgzmOxw-qSHLlWuak,3465
|
50
50
|
nucliadb/learning_proxy.py,sha256=ZFCb4sTWGmNE1SNNAF2eJEcFksn1VMW7AD8-vu7o_U4,19294
|
51
51
|
nucliadb/metrics_exporter.py,sha256=N9ncgPdmkP5_hqlxcBrH7ZFrgM7BkpaZrndmUpdfDKc,4981
|
52
|
-
nucliadb/openapi.py,sha256=
|
52
|
+
nucliadb/openapi.py,sha256=dI5hHSUs2oHf4fd27gGagVltWfjVZPIoVqMtIN04VJk,2290
|
53
53
|
nucliadb/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
54
54
|
nucliadb/backups/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
|
55
55
|
nucliadb/backups/const.py,sha256=AaIsBB04WerR-V6t8NoCUScxO1ojMYJzfHgdkF2qh4M,2018
|
@@ -123,7 +123,7 @@ nucliadb/common/models_utils/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJ
|
|
123
123
|
nucliadb/common/models_utils/from_proto.py,sha256=1Ut6_f5ofao1numCkr5xgeVWhuVitx1ebggzU8hu0jU,15764
|
124
124
|
nucliadb/common/models_utils/to_proto.py,sha256=97JvOR_3odu50YvzLa2CERfEN3w_QPmAVcCJwJB5m5A,2438
|
125
125
|
nucliadb/export_import/__init__.py,sha256=y-Is0Bxa8TMV6UiOW0deC_D3U465P65CQ5RjBjIWnow,932
|
126
|
-
nucliadb/export_import/datamanager.py,sha256=
|
126
|
+
nucliadb/export_import/datamanager.py,sha256=HDn2f47wyexBnlSF4pFEuq0n9WI3gxJNiSuVNz9tPMQ,6987
|
127
127
|
nucliadb/export_import/exceptions.py,sha256=Dw8WqfG4r6MPJc5TPfbjMvCgXXWTcTOecGHRVU1h3kM,1949
|
128
128
|
nucliadb/export_import/exporter.py,sha256=k2QVx1EjqFlDYiggriWiEJzwtMXzHbldsqWdpGQM3_U,7074
|
129
129
|
nucliadb/export_import/importer.py,sha256=GNDMt4hdjbcLWdydVq8XFQKefzNJkQ1eTzhshUX64rk,4231
|
@@ -376,8 +376,8 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
|
|
376
376
|
nucliadb/writer/tus/s3.py,sha256=vu1BGg4VqJ_x2P1u2BxqPKlSfw5orT_a3R-Ln5oPUpU,8483
|
377
377
|
nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
|
378
378
|
nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
|
379
|
-
nucliadb-6.7.0.
|
380
|
-
nucliadb-6.7.0.
|
381
|
-
nucliadb-6.7.0.
|
382
|
-
nucliadb-6.7.0.
|
383
|
-
nucliadb-6.7.0.
|
379
|
+
nucliadb-6.7.0.post4806.dist-info/METADATA,sha256=fGYholk77TdmORQDTLzMG4c4zOXMi41VQ_GSahmQX50,4158
|
380
|
+
nucliadb-6.7.0.post4806.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
381
|
+
nucliadb-6.7.0.post4806.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
|
382
|
+
nucliadb-6.7.0.post4806.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
|
383
|
+
nucliadb-6.7.0.post4806.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|