qmenta-client 1.1.dev1389__py3-none-any.whl → 1.1.dev1394__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.
qmenta/client/Project.py
CHANGED
|
@@ -1486,6 +1486,10 @@ class Project:
|
|
|
1486
1486
|
analysis_name_or_id = int(analysis_name_or_id)
|
|
1487
1487
|
else:
|
|
1488
1488
|
search_tag = "p_n"
|
|
1489
|
+
excluded_characters = ["\\", "[", "(", "+", "*"]
|
|
1490
|
+
excluded_bool = [character in analysis_name_or_id for character in excluded_characters]
|
|
1491
|
+
if any(excluded_bool):
|
|
1492
|
+
raise Exception(f"p_n does not allow characters {excluded_characters}")
|
|
1489
1493
|
else:
|
|
1490
1494
|
raise Exception("The analysis identifier must be its name or an " "integer")
|
|
1491
1495
|
|
|
@@ -1565,6 +1569,12 @@ class Project:
|
|
|
1565
1569
|
raise Exception((f"This key '{key}' is not accepted by this" "search condition"))
|
|
1566
1570
|
if not isinstance(search_condition[key], search_keys[key]) and search_condition[key] is not None:
|
|
1567
1571
|
raise Exception((f"The key {key} in the search condition" f"is not type {search_keys[key]}"))
|
|
1572
|
+
if "p_n" == key:
|
|
1573
|
+
excluded_characters = ["\\", "[", "(", "+", "*"]
|
|
1574
|
+
excluded_bool = [character in search_condition["p_n"] for character in excluded_characters]
|
|
1575
|
+
if any(excluded_bool):
|
|
1576
|
+
raise Exception(f"p_n does not allow characters {excluded_characters}")
|
|
1577
|
+
req_headers = {"X-Range": f"items={items[0]}-{items[1] - 1}"}
|
|
1568
1578
|
req_headers = {"X-Range": f"items={items[0]}-{items[1] - 1}"}
|
|
1569
1579
|
return platform.parse_response(
|
|
1570
1580
|
platform.post(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
qmenta/__init__.py,sha256=jv2YF__bseklT3OWEzlqJ5qE24c4aWd5F4r0TTjOrWQ,65
|
|
2
2
|
qmenta/client/Account.py,sha256=MEljEy9cmg2uP2FG1d3TZAgfj66EE2_3PQAZ9rvpCXY,9647
|
|
3
3
|
qmenta/client/File.py,sha256=ZgvSqejIosUt4uoX7opUnPnp5XGEaJNMRwFC0mQVB8k,5344
|
|
4
|
-
qmenta/client/Project.py,sha256=
|
|
4
|
+
qmenta/client/Project.py,sha256=f26hL9fA5q_Xw3N6nOAJ7sTqWAJc191XqyZKdplJN2c,79911
|
|
5
5
|
qmenta/client/Subject.py,sha256=lhxxVdQ6d-GNoQC8mrJwa4L1f44nJc4PcJtDspmKN7I,8756
|
|
6
6
|
qmenta/client/__init__.py,sha256=AjTojBhZeW5nl0i605KS8S1Gl5tPNc1hdzD47BGNfoI,147
|
|
7
7
|
qmenta/client/utils.py,sha256=5DK2T_HQprrCwLS0Ycm2CjseaYmAUKaJkJvYoW-Rqzc,2479
|
|
8
|
-
qmenta_client-1.1.
|
|
9
|
-
qmenta_client-1.1.
|
|
10
|
-
qmenta_client-1.1.
|
|
8
|
+
qmenta_client-1.1.dev1394.dist-info/METADATA,sha256=RDjxjhOMcm5vZF1QgoaKZiI4J7SD7x1rmCTuzFY1UEU,672
|
|
9
|
+
qmenta_client-1.1.dev1394.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
|
10
|
+
qmenta_client-1.1.dev1394.dist-info/RECORD,,
|
|
File without changes
|