obographs 0.0.4__tar.gz → 0.0.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.
- {obographs-0.0.4 → obographs-0.0.5}/PKG-INFO +1 -1
- {obographs-0.0.4 → obographs-0.0.5}/pyproject.toml +2 -2
- {obographs-0.0.4 → obographs-0.0.5}/src/obographs/standardized.py +4 -2
- {obographs-0.0.4 → obographs-0.0.5}/src/obographs/version.py +1 -1
- {obographs-0.0.4 → obographs-0.0.5}/LICENSE +0 -0
- {obographs-0.0.4 → obographs-0.0.5}/README.md +0 -0
- {obographs-0.0.4 → obographs-0.0.5}/src/obographs/__init__.py +0 -0
- {obographs-0.0.4 → obographs-0.0.5}/src/obographs/model.py +0 -0
- {obographs-0.0.4 → obographs-0.0.5}/src/obographs/py.typed +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "uv_build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "obographs"
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.5"
|
|
8
8
|
description = "A python data model for OBO Graphs"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [
|
|
@@ -232,7 +232,7 @@ known-first-party = [
|
|
|
232
232
|
docstring-code-format = true
|
|
233
233
|
|
|
234
234
|
[tool.bumpversion]
|
|
235
|
-
current_version = "0.0.
|
|
235
|
+
current_version = "0.0.5"
|
|
236
236
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(?:-(?P<release>[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?(?:\\+(?P<build>[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?"
|
|
237
237
|
serialize = [
|
|
238
238
|
"{major}.{minor}.{patch}-{release}+{build}",
|
|
@@ -203,7 +203,7 @@ class StandardizedSynonym(StandardizedBaseModel[Synonym]):
|
|
|
203
203
|
class StandardizedMeta(StandardizedBaseModel[Meta]):
|
|
204
204
|
"""A standardized meta object."""
|
|
205
205
|
|
|
206
|
-
definition: StandardizedDefinition | None
|
|
206
|
+
definition: StandardizedDefinition | None = None
|
|
207
207
|
subsets: list[Reference] | None = None
|
|
208
208
|
xrefs: list[StandardizedXref] | None = None
|
|
209
209
|
synonyms: list[StandardizedSynonym] | None = None
|
|
@@ -261,7 +261,9 @@ class StandardizedMeta(StandardizedBaseModel[Meta]):
|
|
|
261
261
|
return cls(
|
|
262
262
|
definition=StandardizedDefinition.from_obograph_raw(
|
|
263
263
|
meta.definition, converter, strict=strict
|
|
264
|
-
)
|
|
264
|
+
)
|
|
265
|
+
if meta.definition is not None
|
|
266
|
+
else None,
|
|
265
267
|
subsets=[
|
|
266
268
|
_curie_or_uri_to_ref(subset, converter, strict=strict) for subset in meta.subsets
|
|
267
269
|
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|