destiny_sdk 0.1.4__tar.gz → 0.1.5__tar.gz
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-0.1.4 → destiny_sdk-0.1.5}/PKG-INFO +3 -14
- {destiny_sdk-0.1.4 → destiny_sdk-0.1.5}/README.md +2 -13
- {destiny_sdk-0.1.4 → destiny_sdk-0.1.5}/pyproject.toml +1 -1
- {destiny_sdk-0.1.4 → destiny_sdk-0.1.5}/src/destiny_sdk/enhancements.py +3 -2
- {destiny_sdk-0.1.4 → destiny_sdk-0.1.5}/LICENSE +0 -0
- {destiny_sdk-0.1.4 → destiny_sdk-0.1.5}/src/destiny_sdk/__init__.py +0 -0
- {destiny_sdk-0.1.4 → destiny_sdk-0.1.5}/src/destiny_sdk/auth.py +0 -0
- {destiny_sdk-0.1.4 → destiny_sdk-0.1.5}/src/destiny_sdk/client.py +0 -0
- {destiny_sdk-0.1.4 → destiny_sdk-0.1.5}/src/destiny_sdk/core.py +0 -0
- {destiny_sdk-0.1.4 → destiny_sdk-0.1.5}/src/destiny_sdk/identifiers.py +0 -0
- {destiny_sdk-0.1.4 → destiny_sdk-0.1.5}/src/destiny_sdk/imports.py +0 -0
- {destiny_sdk-0.1.4 → destiny_sdk-0.1.5}/src/destiny_sdk/py.typed +0 -0
- {destiny_sdk-0.1.4 → destiny_sdk-0.1.5}/src/destiny_sdk/references.py +0 -0
- {destiny_sdk-0.1.4 → destiny_sdk-0.1.5}/src/destiny_sdk/robots.py +0 -0
- {destiny_sdk-0.1.4 → destiny_sdk-0.1.5}/src/destiny_sdk/visibility.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: destiny_sdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5
|
|
4
4
|
Summary: A software development kit (sdk) to support interaction with the DESTINY repository
|
|
5
5
|
License: Apache 2.0
|
|
6
6
|
Author: Adam Hamilton
|
|
@@ -75,20 +75,9 @@ poetry build
|
|
|
75
75
|
poetry add ./PATH/TO/WHEEL.whl
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
### Publishing
|
|
78
|
+
### Publishing
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
poetry config repositories.testpypi https://test.pypi.org/legacy/
|
|
82
|
-
poetry config pypi-token.testpypi [YOUR_TESTPYPI_TOKEN]
|
|
83
|
-
poetry publish --repository testpypi
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
## Publishing
|
|
87
|
-
|
|
88
|
-
```sh
|
|
89
|
-
poetry config pypi-token.pypi [YOUR_PYPI_TOKEN]
|
|
90
|
-
poetry publish
|
|
91
|
-
```
|
|
80
|
+
Once the package change is merged to main with an iterated `libs/sdk/pyproject.toml` version number, you can run the [github action](https://github.com/destiny-evidence/destiny-repository/actions/workflows/release-sdk-to-pypi.yml) to publish to the test pypi and then production pypi registries.
|
|
92
81
|
|
|
93
82
|
### Versioning
|
|
94
83
|
|
|
@@ -53,20 +53,9 @@ poetry build
|
|
|
53
53
|
poetry add ./PATH/TO/WHEEL.whl
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
### Publishing
|
|
56
|
+
### Publishing
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
poetry config repositories.testpypi https://test.pypi.org/legacy/
|
|
60
|
-
poetry config pypi-token.testpypi [YOUR_TESTPYPI_TOKEN]
|
|
61
|
-
poetry publish --repository testpypi
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
## Publishing
|
|
65
|
-
|
|
66
|
-
```sh
|
|
67
|
-
poetry config pypi-token.pypi [YOUR_PYPI_TOKEN]
|
|
68
|
-
poetry publish
|
|
69
|
-
```
|
|
58
|
+
Once the package change is merged to main with an iterated `libs/sdk/pyproject.toml` version number, you can run the [github action](https://github.com/destiny-evidence/destiny-repository/actions/workflows/release-sdk-to-pypi.yml) to publish to the test pypi and then production pypi registries.
|
|
70
59
|
|
|
71
60
|
### Versioning
|
|
72
61
|
|
|
@@ -219,7 +219,7 @@ class AnnotationEnhancement(BaseModel):
|
|
|
219
219
|
"""An enhancement which is composed of a list of Annotations."""
|
|
220
220
|
|
|
221
221
|
enhancement_type: Literal[EnhancementType.ANNOTATION] = EnhancementType.ANNOTATION
|
|
222
|
-
annotations: list[Annotation]
|
|
222
|
+
annotations: list[Annotation] = Field(min_length=1)
|
|
223
223
|
|
|
224
224
|
|
|
225
225
|
class DriverVersion(StrEnum):
|
|
@@ -299,7 +299,8 @@ class LocationEnhancement(BaseModel):
|
|
|
299
299
|
|
|
300
300
|
enhancement_type: Literal[EnhancementType.LOCATION] = EnhancementType.LOCATION
|
|
301
301
|
locations: list[Location] = Field(
|
|
302
|
-
|
|
302
|
+
min_length=1,
|
|
303
|
+
description="A list of locations where this reference can be found.",
|
|
303
304
|
)
|
|
304
305
|
|
|
305
306
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|