destiny_sdk 0.4.0__py3-none-any.whl → 0.4.1__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.
- destiny_sdk/client.py +2 -2
- destiny_sdk/robots.py +4 -4
- {destiny_sdk-0.4.0.dist-info → destiny_sdk-0.4.1.dist-info}/METADATA +1 -1
- {destiny_sdk-0.4.0.dist-info → destiny_sdk-0.4.1.dist-info}/RECORD +6 -6
- {destiny_sdk-0.4.0.dist-info → destiny_sdk-0.4.1.dist-info}/WHEEL +0 -0
- {destiny_sdk-0.4.0.dist-info → destiny_sdk-0.4.1.dist-info}/licenses/LICENSE +0 -0
destiny_sdk/client.py
CHANGED
|
@@ -107,7 +107,7 @@ class Client:
|
|
|
107
107
|
:rtype: RobotEnhancementBatchRead
|
|
108
108
|
"""
|
|
109
109
|
response = self.session.post(
|
|
110
|
-
f"/robot-enhancement-
|
|
110
|
+
f"/robot-enhancement-batches/{robot_enhancement_batch_result.request_id}/results/",
|
|
111
111
|
json=robot_enhancement_batch_result.model_dump(mode="json"),
|
|
112
112
|
)
|
|
113
113
|
response.raise_for_status()
|
|
@@ -130,7 +130,7 @@ class Client:
|
|
|
130
130
|
:rtype: RobotEnhancementBatch | None
|
|
131
131
|
"""
|
|
132
132
|
response = self.session.post(
|
|
133
|
-
"/robot-enhancement-
|
|
133
|
+
"/robot-enhancement-batches/",
|
|
134
134
|
params={"robot_id": str(robot_id), "limit": limit},
|
|
135
135
|
)
|
|
136
136
|
# HTTP 204 No Content indicates no batches available
|
destiny_sdk/robots.py
CHANGED
|
@@ -140,7 +140,7 @@ reference per line.
|
|
|
140
140
|
Each reference may have identifiers or enhancements attached, as
|
|
141
141
|
required by the robot.
|
|
142
142
|
If the URL expires, a new one can be generated using
|
|
143
|
-
``GET /robot-enhancement-
|
|
143
|
+
``GET /robot-enhancement-batches/{batch_id}/``.
|
|
144
144
|
"""
|
|
145
145
|
)
|
|
146
146
|
result_storage_url: HttpUrl = Field(
|
|
@@ -149,7 +149,7 @@ The URL at which the set of enhancements are to be stored. The file is to be a j
|
|
|
149
149
|
with each line formatted according to
|
|
150
150
|
:class:`EnhancementResultEntry <libs.sdk.src.destiny_sdk.robots.EnhancementResultEntry>`.
|
|
151
151
|
If the URL expires, a new one can be generated using
|
|
152
|
-
``GET /robot-enhancement-
|
|
152
|
+
``GET /robot-enhancement-batches/{batch_id}/``.
|
|
153
153
|
""" # noqa: E501
|
|
154
154
|
)
|
|
155
155
|
extra_fields: dict | None = Field(
|
|
@@ -302,7 +302,7 @@ with each line formatted according to
|
|
|
302
302
|
:class:`EnhancementResultEntry <libs.sdk.src.destiny_sdk.robots.EnhancementResultEntry>`.
|
|
303
303
|
This field is only relevant to robots.
|
|
304
304
|
If the URL expires, a new one can be generated using
|
|
305
|
-
``GET /robot-enhancement-
|
|
305
|
+
``GET /robot-enhancement-batches/{batch_id}/``.
|
|
306
306
|
""", # noqa: E501
|
|
307
307
|
)
|
|
308
308
|
validation_result_url: HttpUrl | None = Field(
|
|
@@ -312,7 +312,7 @@ The URL at which the result of the enhancement request is stored.
|
|
|
312
312
|
This file is a txt file, one line per reference, with either an error
|
|
313
313
|
or a success message.
|
|
314
314
|
If the URL expires, a new one can be generated using
|
|
315
|
-
``GET /robot-enhancement-
|
|
315
|
+
``GET /robot-enhancement-batches/{batch_id}/``.
|
|
316
316
|
""",
|
|
317
317
|
)
|
|
318
318
|
error: str | None = Field(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: destiny_sdk
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.1
|
|
4
4
|
Summary: A software development kit (sdk) to support interaction with the DESTINY repository
|
|
5
5
|
Author-email: Adam Hamilton <adam@futureevidence.org>, Andrew Harvey <andrew@futureevidence.org>, Daniel Breves <daniel@futureevidence.org>, Jack Walmisley <jack@futureevidence.org>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
destiny_sdk/__init__.py,sha256=gmmrceJX84T4msk_GSm_OjTQvCpHFZRjnlUK5_7IODE,356
|
|
2
2
|
destiny_sdk/auth.py,sha256=bY72ywZEcG_67YBd9PrwgWTXkCf58rhLvVEXrtXbWtA,6247
|
|
3
|
-
destiny_sdk/client.py,sha256=
|
|
3
|
+
destiny_sdk/client.py,sha256=8l-UdKKdKgSSFZKg2AMhmyegIRD_wLjp8AtxtSuUMf0,4904
|
|
4
4
|
destiny_sdk/core.py,sha256=_FwDaczKTSaUSV_qfcnLhkBbZagh4ayFpN0qUwJ03-o,1448
|
|
5
5
|
destiny_sdk/enhancements.py,sha256=_S_anq194qdaEGklgycSG1qLEJeWzKe1u3oyXNxAg54,11800
|
|
6
6
|
destiny_sdk/identifiers.py,sha256=9CFEaPhZr2IHfL4RSAzOvidXhhzKLDPXiSKddBMWzwM,3606
|
|
7
7
|
destiny_sdk/imports.py,sha256=PG1rNNPdOxTeVI3-8sXFfRYi9BkCVZmr_jqr0Q9mxiU,7845
|
|
8
8
|
destiny_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
destiny_sdk/references.py,sha256=Dx-WKcv9gNJkKU9n52AYoEey7siTHR5_wBVBKSHND6Q,2321
|
|
10
|
-
destiny_sdk/robots.py,sha256=
|
|
10
|
+
destiny_sdk/robots.py,sha256=Okkveik2tFG4JtchnUMbrHcKGglBrR30fiNdtLP00IA,13777
|
|
11
11
|
destiny_sdk/visibility.py,sha256=nDLqnWuSZSk0vG3ynzDpHAvaALsbk8cuEZujTsqf6no,684
|
|
12
12
|
destiny_sdk/parsers/__init__.py,sha256=d5gS--bXla_0I7e_9wTBnGWMXt2U8b-_ndeprTPe1hk,149
|
|
13
13
|
destiny_sdk/parsers/eppi_parser.py,sha256=aSTqmm8N2WK1gnkj38XvfWaEXsaf0y6je6h9qN0xvFA,5584
|
|
14
|
-
destiny_sdk-0.4.
|
|
15
|
-
destiny_sdk-0.4.
|
|
16
|
-
destiny_sdk-0.4.
|
|
17
|
-
destiny_sdk-0.4.
|
|
14
|
+
destiny_sdk-0.4.1.dist-info/METADATA,sha256=6gCDo23pk4zxjAyADhY6gs3E3l8TWW0zJkpLbbrpTgI,2440
|
|
15
|
+
destiny_sdk-0.4.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
16
|
+
destiny_sdk-0.4.1.dist-info/licenses/LICENSE,sha256=6QURU4gvvTjVZ5rfp5amZ6FtFvcpPhAGUjxF5WSZAHI,9138
|
|
17
|
+
destiny_sdk-0.4.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|