dyff-schema 0.26.1__tar.gz → 0.26.2__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.26.1/dyff_schema.egg-info → dyff_schema-0.26.2}/PKG-INFO +1 -1
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/commands.py +6 -1
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/platform.py +1 -1
- {dyff_schema-0.26.1 → dyff_schema-0.26.2/dyff_schema.egg-info}/PKG-INFO +1 -1
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/.gitignore +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/.gitlab-ci.yml +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/.licenserc.yaml +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/.pre-commit-config.yaml +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/.prettierignore +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/.secrets.baseline +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/CODE_OF_CONDUCT.md +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/LICENSE +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/NOTICE +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/README.md +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/__init__.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/adapters.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/annotations.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/base.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/commands.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/copydoc.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/dataset/__init__.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/dataset/arrow.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/dataset/binary.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/dataset/classification.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/dataset/embedding.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/dataset/text.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/dataset/vision.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/errors.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/ids.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/io/__init__.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/io/vllm.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/platform.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/py.typed +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/quantity.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/requests.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/test.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/__init__.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/__init__.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/adapters.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/base.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/dataset/__init__.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/dataset/arrow.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/dataset/binary.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/dataset/classification.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/dataset/embedding.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/dataset/text.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/dataset/vision.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/io/__init__.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/io/vllm.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/requests.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/test.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/v0/r1/version.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff/schema/version.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff_schema.egg-info/SOURCES.txt +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff_schema.egg-info/dependency_links.txt +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff_schema.egg-info/requires.txt +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/dyff_schema.egg-info/top_level.txt +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/makefile +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/pyproject.toml +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/setup.cfg +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/tests/test_adapters.py +0 -0
- {dyff_schema-0.26.1 → dyff_schema-0.26.2}/tests/test_import.py +0 -0
|
@@ -41,8 +41,13 @@ class EntityIdentifier(DyffSchemaBaseModel):
|
|
|
41
41
|
"""Create an identifier that identifies the given entity."""
|
|
42
42
|
return EntityIdentifier(kind=entity.kind, id=entity.id)
|
|
43
43
|
|
|
44
|
-
kind: EntityKindLiteral = pydantic.Field(description="The .kind of the entity.")
|
|
45
44
|
id: str = pydantic.Field(description="The .id of the entity.")
|
|
45
|
+
kind: Optional[EntityKindLiteral] = pydantic.Field(
|
|
46
|
+
default=None,
|
|
47
|
+
description="The .kind of the entity. This is optional because"
|
|
48
|
+
" sometimes you need to send a command without knowing the kind,"
|
|
49
|
+
" but it should be set whenever possible.",
|
|
50
|
+
)
|
|
46
51
|
|
|
47
52
|
|
|
48
53
|
class FamilyIdentifier(EntityIdentifier):
|
|
@@ -305,7 +305,7 @@ def LabelValue() -> type[str]:
|
|
|
305
305
|
|
|
306
306
|
def TagName() -> type[str]:
|
|
307
307
|
return pydantic.constr( # type: ignore
|
|
308
|
-
regex=_oci_image_tag_regex(), max_length=
|
|
308
|
+
regex=_oci_image_tag_regex(), max_length=_oci_image_tag_maxlen()
|
|
309
309
|
)
|
|
310
310
|
|
|
311
311
|
|
|
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
|