dyff-schema 0.25.0__tar.gz → 0.25.1__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.
Potentially problematic release.
This version of dyff-schema might be problematic. Click here for more details.
- {dyff_schema-0.25.0/dyff_schema.egg-info → dyff_schema-0.25.1}/PKG-INFO +1 -1
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/commands.py +2 -1
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/platform.py +9 -3
- {dyff_schema-0.25.0 → dyff_schema-0.25.1/dyff_schema.egg-info}/PKG-INFO +1 -1
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/.gitignore +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/.gitlab-ci.yml +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/.licenserc.yaml +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/.pre-commit-config.yaml +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/.prettierignore +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/.secrets.baseline +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/CODE_OF_CONDUCT.md +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/LICENSE +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/NOTICE +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/README.md +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/__init__.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/adapters.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/annotations.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/base.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/commands.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/copydoc.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/dataset/__init__.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/dataset/arrow.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/dataset/binary.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/dataset/classification.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/dataset/embedding.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/dataset/text.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/dataset/vision.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/errors.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/ids.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/io/__init__.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/io/vllm.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/platform.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/py.typed +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/quantity.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/requests.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/test.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/__init__.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/__init__.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/adapters.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/base.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/dataset/__init__.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/dataset/arrow.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/dataset/binary.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/dataset/classification.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/dataset/embedding.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/dataset/text.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/dataset/vision.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/io/__init__.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/io/vllm.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/requests.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/test.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/v0/r1/version.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff/schema/version.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff_schema.egg-info/SOURCES.txt +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff_schema.egg-info/dependency_links.txt +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff_schema.egg-info/requires.txt +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/dyff_schema.egg-info/top_level.txt +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/makefile +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/pyproject.toml +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/setup.cfg +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/tests/test_adapters.py +0 -0
- {dyff_schema-0.25.0 → dyff_schema-0.25.1}/tests/test_import.py +0 -0
|
@@ -18,6 +18,7 @@ from .platform import (
|
|
|
18
18
|
EntityKindLiteral,
|
|
19
19
|
FamilyMembers,
|
|
20
20
|
Labeled,
|
|
21
|
+
SchemaVersion,
|
|
21
22
|
Status,
|
|
22
23
|
)
|
|
23
24
|
|
|
@@ -46,7 +47,7 @@ class FamilyIdentifier(EntityIdentifier):
|
|
|
46
47
|
kind: Literal["Family"] = "Family"
|
|
47
48
|
|
|
48
49
|
|
|
49
|
-
class Command(
|
|
50
|
+
class Command(SchemaVersion):
|
|
50
51
|
"""Base class for Command messages.
|
|
51
52
|
|
|
52
53
|
Commands define the API of the "command model" in our CQRS architecture.
|
|
@@ -2351,7 +2351,7 @@ _DyffEntityTypeRevisable = Union[
|
|
|
2351
2351
|
]
|
|
2352
2352
|
|
|
2353
2353
|
|
|
2354
|
-
class
|
|
2354
|
+
class RevisionData(DyffSchemaBaseModel):
|
|
2355
2355
|
format: Literal["Snapshot", "JsonMergePatch"]
|
|
2356
2356
|
snapshot: Optional[_DyffEntityTypeRevisable] = pydantic.Field(
|
|
2357
2357
|
default=None, description="A full snapshot of the entity."
|
|
@@ -2388,10 +2388,16 @@ class Revision(DyffEntity, RevisionMetadata):
|
|
|
2388
2388
|
description="The ID of the entity that this is a revision of"
|
|
2389
2389
|
)
|
|
2390
2390
|
|
|
2391
|
-
|
|
2391
|
+
data: RevisionData = pydantic.Field(
|
|
2392
2392
|
description="The associated entity revision data",
|
|
2393
2393
|
)
|
|
2394
2394
|
|
|
2395
|
+
def dependencies(self) -> list[str]:
|
|
2396
|
+
return []
|
|
2397
|
+
|
|
2398
|
+
def resource_allocation(self) -> Optional[ResourceAllocation]:
|
|
2399
|
+
return None
|
|
2400
|
+
|
|
2395
2401
|
|
|
2396
2402
|
DyffEntityType = Union[_DyffEntityTypeRevisable, History, Revision]
|
|
2397
2403
|
|
|
@@ -2512,7 +2518,7 @@ __all__ = [
|
|
|
2512
2518
|
"ReportBase",
|
|
2513
2519
|
"Resources",
|
|
2514
2520
|
"Revision",
|
|
2515
|
-
"
|
|
2521
|
+
"RevisionData",
|
|
2516
2522
|
"RevisionMetadata",
|
|
2517
2523
|
"Role",
|
|
2518
2524
|
"SafetyCase",
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|