diracx-db 0.0.1a43__py3-none-any.whl → 0.0.1a44__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.
- diracx/db/os/job_parameters.py +2 -1
- {diracx_db-0.0.1a43.dist-info → diracx_db-0.0.1a44.dist-info}/METADATA +1 -1
- {diracx_db-0.0.1a43.dist-info → diracx_db-0.0.1a44.dist-info}/RECORD +6 -6
- {diracx_db-0.0.1a43.dist-info → diracx_db-0.0.1a44.dist-info}/WHEEL +1 -1
- {diracx_db-0.0.1a43.dist-info → diracx_db-0.0.1a44.dist-info}/entry_points.txt +0 -0
- {diracx_db-0.0.1a43.dist-info → diracx_db-0.0.1a44.dist-info}/top_level.txt +0 -0
diracx/db/os/job_parameters.py
CHANGED
@@ -25,7 +25,8 @@ class JobParametersDB(BaseOSDB):
|
|
25
25
|
|
26
26
|
def index_name(self, vo, doc_id: int) -> str:
|
27
27
|
split = int(int(doc_id) // 1e6)
|
28
|
-
|
28
|
+
# The index name must be lowercase or opensearchpy will throw.
|
29
|
+
return f"{self.index_prefix}_{vo.lower()}_{split}m"
|
29
30
|
|
30
31
|
def upsert(self, vo, doc_id, document):
|
31
32
|
document = {
|
@@ -3,7 +3,7 @@ diracx/db/__main__.py,sha256=tU4tp3OAClYCiPMxlRj524sZGBx9oy4CoWHd8pMuEEs,1715
|
|
3
3
|
diracx/db/exceptions.py,sha256=1nn-SZLG-nQwkxbvHjZqXhE5ouzWj1f3qhSda2B4ZEg,83
|
4
4
|
diracx/db/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
diracx/db/os/__init__.py,sha256=IZr6z6SefrRvuC8sTC4RmB3_wwOyEt1GzpDuwSMH8O4,112
|
6
|
-
diracx/db/os/job_parameters.py,sha256=
|
6
|
+
diracx/db/os/job_parameters.py,sha256=YKW5Mx0_TB6cPJoLi08SJWckjXsedRDLq9QbVSQb5CM,1228
|
7
7
|
diracx/db/os/utils.py,sha256=V4T-taos64SFNcorfIr7mq5l5y88K6TzyCj1YqWk8VI,11562
|
8
8
|
diracx/db/sql/__init__.py,sha256=JYu0b0IVhoXy3lX2m2r2dmAjsRS7IbECBUMEDvX0Te4,391
|
9
9
|
diracx/db/sql/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -31,8 +31,8 @@ diracx/db/sql/utils/__init__.py,sha256=QkvpqBuIAgkAOywAssYzdxSzUQVZlSUumK7mPxotX
|
|
31
31
|
diracx/db/sql/utils/base.py,sha256=7UxHBNLOSjdrIdslMKW4C_c5H9-6Y1BEimxscri2poE,12367
|
32
32
|
diracx/db/sql/utils/functions.py,sha256=iLqlUIQ6SrDUtDEnZ5szaFbdcINJW15KNbCdGXss6kc,3055
|
33
33
|
diracx/db/sql/utils/types.py,sha256=yU-tXsu6hFGPsr9ba1n3ZjGPnHQI_06lbpkTeDCWJtg,1287
|
34
|
-
diracx_db-0.0.
|
35
|
-
diracx_db-0.0.
|
36
|
-
diracx_db-0.0.
|
37
|
-
diracx_db-0.0.
|
38
|
-
diracx_db-0.0.
|
34
|
+
diracx_db-0.0.1a44.dist-info/METADATA,sha256=GTQNVgaV7dVycm3qPuHFl32-EkLmeUr4ahtCgPyNbfQ,670
|
35
|
+
diracx_db-0.0.1a44.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
|
36
|
+
diracx_db-0.0.1a44.dist-info/entry_points.txt,sha256=UPqhLvb9gui0kOyWeI_edtefcrHToZmQt1p76vIwujo,317
|
37
|
+
diracx_db-0.0.1a44.dist-info/top_level.txt,sha256=vJx10tdRlBX3rF2Psgk5jlwVGZNcL3m_7iQWwgPXt-U,7
|
38
|
+
diracx_db-0.0.1a44.dist-info/RECORD,,
|
File without changes
|
File without changes
|