dyff-schema 0.3.8__tar.gz → 0.3.9__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.
- {dyff-schema-0.3.8/dyff_schema.egg-info → dyff_schema-0.3.9}/PKG-INFO +1 -1
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/r1/platform.py +23 -5
- {dyff-schema-0.3.8 → dyff_schema-0.3.9/dyff_schema.egg-info}/PKG-INFO +1 -1
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/.gitignore +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/.gitlab-ci.yml +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/.licenserc.yaml +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/.pre-commit-config.yaml +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/.prettierignore +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/.secrets.baseline +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/CODE_OF_CONDUCT.md +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/LICENSE +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/NOTICE +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/README.md +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/__init__.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/adapters.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/base.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/copydoc.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/dataset/__init__.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/dataset/arrow.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/dataset/binary.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/dataset/classification.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/dataset/text.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/dataset/vision.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/ids.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/io/__init__.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/io/vllm.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/platform.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/py.typed +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/quantity.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/requests.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/test.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/__init__.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/r1/__init__.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/r1/adapters.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/r1/base.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/r1/dataset/__init__.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/r1/dataset/arrow.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/r1/dataset/binary.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/r1/dataset/classification.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/r1/dataset/text.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/r1/dataset/vision.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/r1/io/__init__.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/r1/io/vllm.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/r1/requests.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/r1/test.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/v0/r1/version.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff/schema/version.py +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff_schema.egg-info/SOURCES.txt +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff_schema.egg-info/dependency_links.txt +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff_schema.egg-info/requires.txt +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/dyff_schema.egg-info/top_level.txt +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/makefile +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/pyproject.toml +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/setup.cfg +0 -0
- {dyff-schema-0.3.8 → dyff_schema-0.3.9}/tests/test_import.py +0 -0
|
@@ -1332,16 +1332,34 @@ class ForeignMethod(DyffModelWithID, MethodBase):
|
|
|
1332
1332
|
|
|
1333
1333
|
|
|
1334
1334
|
class AnalysisScope(DyffSchemaBaseModel):
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1335
|
+
"""The specific entities to which the analysis applies.
|
|
1336
|
+
|
|
1337
|
+
When applying an InferenceService-scoped Method, at least
|
|
1338
|
+
``.inferenceService`` must be set.
|
|
1339
|
+
|
|
1340
|
+
When applying an Evaluation-scoped Method, at least ``.evaluation``,
|
|
1341
|
+
``.inferenceService``, and ``.dataset`` must be set.
|
|
1342
|
+
"""
|
|
1343
|
+
|
|
1344
|
+
dataset: Optional[str] = pydantic.Field(
|
|
1345
|
+
default=None, description="The Dataset to which the analysis applies."
|
|
1346
|
+
)
|
|
1347
|
+
inferenceService: Optional[str] = pydantic.Field(
|
|
1348
|
+
default=None, description="The InferenceService to which the analysis applies."
|
|
1349
|
+
)
|
|
1350
|
+
evaluation: Optional[str] = pydantic.Field(
|
|
1351
|
+
default=None, description="The Evaluation to which the analysis applies."
|
|
1352
|
+
)
|
|
1353
|
+
model: Optional[str] = pydantic.Field(
|
|
1354
|
+
default=None, description="The Model to which the analysis applies."
|
|
1355
|
+
)
|
|
1339
1356
|
|
|
1340
1357
|
|
|
1341
1358
|
class AnalysisBase(DyffSchemaBaseModel):
|
|
1342
1359
|
scope: AnalysisScope = pydantic.Field(
|
|
1360
|
+
default_factory=AnalysisScope,
|
|
1343
1361
|
description="The specific entities to which the analysis results apply."
|
|
1344
|
-
" At a minimum, the field corresponding to method.scope must be set."
|
|
1362
|
+
" At a minimum, the field corresponding to method.scope must be set.",
|
|
1345
1363
|
)
|
|
1346
1364
|
|
|
1347
1365
|
arguments: list[AnalysisArgument] = pydantic.Field(
|
|
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
|