dayhoff-tools 1.13.18__py3-none-any.whl → 1.14.0__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.
- dayhoff_tools/cli/engine1/shared.py +7 -3
- {dayhoff_tools-1.13.18.dist-info → dayhoff_tools-1.14.0.dist-info}/METADATA +1 -1
- {dayhoff_tools-1.13.18.dist-info → dayhoff_tools-1.14.0.dist-info}/RECORD +5 -5
- {dayhoff_tools-1.13.18.dist-info → dayhoff_tools-1.14.0.dist-info}/WHEEL +0 -0
- {dayhoff_tools-1.13.18.dist-info → dayhoff_tools-1.14.0.dist-info}/entry_points.txt +0 -0
|
@@ -143,13 +143,17 @@ def make_api_request(
|
|
|
143
143
|
api_url = get_api_url()
|
|
144
144
|
url = f"{api_url}{endpoint}"
|
|
145
145
|
|
|
146
|
+
# Mark this as intentional v1 API usage (via engine1/studio1 commands)
|
|
147
|
+
# This prevents the deprecation error for users who explicitly choose v1
|
|
148
|
+
headers = {"X-DH-V1-Explicit": "true"}
|
|
149
|
+
|
|
146
150
|
try:
|
|
147
151
|
if method == "GET":
|
|
148
|
-
response = requests.get(url, params=params)
|
|
152
|
+
response = requests.get(url, params=params, headers=headers)
|
|
149
153
|
elif method == "POST":
|
|
150
|
-
response = requests.post(url, json=json_data)
|
|
154
|
+
response = requests.post(url, json=json_data, headers=headers)
|
|
151
155
|
elif method == "DELETE":
|
|
152
|
-
response = requests.delete(url)
|
|
156
|
+
response = requests.delete(url, headers=headers)
|
|
153
157
|
else:
|
|
154
158
|
raise ValueError(f"Unsupported HTTP method: {method}")
|
|
155
159
|
|
|
@@ -8,7 +8,7 @@ dayhoff_tools/cli/engine1/engine_core.py,sha256=TECO6766GCZTtbxOY7QRggwmjpMH9JZS
|
|
|
8
8
|
dayhoff_tools/cli/engine1/engine_lifecycle.py,sha256=_Dk-EZs_qbm8APdOuGOuxhlbK6RgkkoLk2nrwKoo1-A,4519
|
|
9
9
|
dayhoff_tools/cli/engine1/engine_maintenance.py,sha256=S9w2_Ko2C3zKpzOux-iG8QUYn0sIua6oJkC8d-7HVxw,16301
|
|
10
10
|
dayhoff_tools/cli/engine1/engine_management.py,sha256=s_H3FtMlKsdfzR8pwV-j2W2QX-Fypkqj2kPC0aTqC1A,19072
|
|
11
|
-
dayhoff_tools/cli/engine1/shared.py,sha256=
|
|
11
|
+
dayhoff_tools/cli/engine1/shared.py,sha256=2fP9BbBmoVhWx58E2nSbMIPJ73Pcy97lBR4a6Cc4taM,17091
|
|
12
12
|
dayhoff_tools/cli/engine1/studio_commands.py,sha256=VwTQujz32-uMcYusDRE73SdzRpgvIkv7ZAF4zRv6AzA,30266
|
|
13
13
|
dayhoff_tools/cli/engines_studios/__init__.py,sha256=E6aG0C6qjJnJuClemSKRFlYvLUL49MQZOvfqNQ7SDKs,159
|
|
14
14
|
dayhoff_tools/cli/engines_studios/api_client.py,sha256=9mCVRjPUCYa7cFx29uVwYxmHPAM5FwsU9xdplvgftxs,13444
|
|
@@ -49,7 +49,7 @@ dayhoff_tools/intake/uniprot.py,sha256=BZYJQF63OtPcBBnQ7_P9gulxzJtqyorgyuDiPeOJq
|
|
|
49
49
|
dayhoff_tools/logs.py,sha256=DKdeP0k0kliRcilwvX0mUB2eipO5BdWUeHwh-VnsICs,838
|
|
50
50
|
dayhoff_tools/sqlite.py,sha256=jV55ikF8VpTfeQqqlHSbY8OgfyfHj8zgHNpZjBLos_E,18672
|
|
51
51
|
dayhoff_tools/warehouse.py,sha256=UETBtZD3r7WgvURqfGbyHlT7cxoiVq8isjzMuerKw8I,24475
|
|
52
|
-
dayhoff_tools-1.
|
|
53
|
-
dayhoff_tools-1.
|
|
54
|
-
dayhoff_tools-1.
|
|
55
|
-
dayhoff_tools-1.
|
|
52
|
+
dayhoff_tools-1.14.0.dist-info/METADATA,sha256=Fjdx_QSzvt6wMe1Xq8vQ5BySWS45WLMgQ4WBt-jJa5Q,2980
|
|
53
|
+
dayhoff_tools-1.14.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
54
|
+
dayhoff_tools-1.14.0.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
|
|
55
|
+
dayhoff_tools-1.14.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|