dyff-schema 0.3.7__py3-none-any.whl → 0.3.9__py3-none-any.whl
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/v0/r1/platform.py +24 -5
- {dyff_schema-0.3.7.dist-info → dyff_schema-0.3.9.dist-info}/METADATA +1 -1
- {dyff_schema-0.3.7.dist-info → dyff_schema-0.3.9.dist-info}/RECORD +7 -7
- {dyff_schema-0.3.7.dist-info → dyff_schema-0.3.9.dist-info}/LICENSE +0 -0
- {dyff_schema-0.3.7.dist-info → dyff_schema-0.3.9.dist-info}/NOTICE +0 -0
- {dyff_schema-0.3.7.dist-info → dyff_schema-0.3.9.dist-info}/WHEEL +0 -0
- {dyff_schema-0.3.7.dist-info → dyff_schema-0.3.9.dist-info}/top_level.txt +0 -0
dyff/schema/v0/r1/platform.py
CHANGED
|
@@ -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(
|
|
@@ -1689,6 +1707,7 @@ __all__ = [
|
|
|
1689
1707
|
"AnalysisBase",
|
|
1690
1708
|
"AnalysisInput",
|
|
1691
1709
|
"AnalysisOutputQueryFields",
|
|
1710
|
+
"AnalysisScope",
|
|
1692
1711
|
"Annotation",
|
|
1693
1712
|
"APIFunctions",
|
|
1694
1713
|
"APIKey",
|
|
@@ -21,7 +21,7 @@ dyff/schema/v0/__init__.py,sha256=L5y8UhRnojerPYHumsxQJRcHCNz8Hj9NM8b47mewMNs,92
|
|
|
21
21
|
dyff/schema/v0/r1/__init__.py,sha256=L5y8UhRnojerPYHumsxQJRcHCNz8Hj9NM8b47mewMNs,92
|
|
22
22
|
dyff/schema/v0/r1/adapters.py,sha256=2t2oxsnGfSEDKKDIEYw4qqLXMH7qlFIwPVuLyUmbsHs,23552
|
|
23
23
|
dyff/schema/v0/r1/base.py,sha256=g_wqh4OU_9ftMHovVxPtdeup4O5MZi422v3eZH99ZQI,17139
|
|
24
|
-
dyff/schema/v0/r1/platform.py,sha256=
|
|
24
|
+
dyff/schema/v0/r1/platform.py,sha256=J1TC-UXHb-cV2_cSYzvH9L3gMzk3u5Rm9oCfxxu6NiA,56247
|
|
25
25
|
dyff/schema/v0/r1/requests.py,sha256=ZD31iDNyJQFDzJlFrSsDBorS7TXyhRBk-R6oG7PI3kE,7762
|
|
26
26
|
dyff/schema/v0/r1/test.py,sha256=X6dUyVd5svcPCI-PBMOAqEfK9jv3bRDvkQTJzwS96c0,10720
|
|
27
27
|
dyff/schema/v0/r1/version.py,sha256=SG9ds8afHgdrqOA4CEY8-MM3lKfAE9G0rxsG4uyeglE,363
|
|
@@ -33,9 +33,9 @@ dyff/schema/v0/r1/dataset/text.py,sha256=nLIn91Zlt0tNdXUklSgjJ-kEDxoPX32ISLkiv2D
|
|
|
33
33
|
dyff/schema/v0/r1/dataset/vision.py,sha256=aIe0fbfM_g3DsrDTdg2K803YKLjZBpurM_VJcJFuZLc,369
|
|
34
34
|
dyff/schema/v0/r1/io/__init__.py,sha256=L5y8UhRnojerPYHumsxQJRcHCNz8Hj9NM8b47mewMNs,92
|
|
35
35
|
dyff/schema/v0/r1/io/vllm.py,sha256=CUE9y8KthtUI7sD49S875rDmPvKotSXVIRaBS79aBZs,5320
|
|
36
|
-
dyff_schema-0.3.
|
|
37
|
-
dyff_schema-0.3.
|
|
38
|
-
dyff_schema-0.3.
|
|
39
|
-
dyff_schema-0.3.
|
|
40
|
-
dyff_schema-0.3.
|
|
41
|
-
dyff_schema-0.3.
|
|
36
|
+
dyff_schema-0.3.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
37
|
+
dyff_schema-0.3.9.dist-info/METADATA,sha256=pqNfbMEOI4iyaOd5DDJLAMiynpatnQ2dJ-rfOH-Nj1k,3459
|
|
38
|
+
dyff_schema-0.3.9.dist-info/NOTICE,sha256=YONACu0s_Ui6jNi-wtEsVQbTU1JIkh8wvLH6d1-Ni_w,43
|
|
39
|
+
dyff_schema-0.3.9.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
40
|
+
dyff_schema-0.3.9.dist-info/top_level.txt,sha256=9e3VVdeX73t_sUJOPQPCcGtYO1JhoErhHIi3WoWGcFI,5
|
|
41
|
+
dyff_schema-0.3.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|