dyff-schema 0.3.0__py3-none-any.whl → 0.3.1__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 +8 -7
- dyff/schema/v0/r1/requests.py +19 -5
- {dyff_schema-0.3.0.dist-info → dyff_schema-0.3.1.dist-info}/METADATA +1 -1
- {dyff_schema-0.3.0.dist-info → dyff_schema-0.3.1.dist-info}/RECORD +8 -8
- {dyff_schema-0.3.0.dist-info → dyff_schema-0.3.1.dist-info}/LICENSE +0 -0
- {dyff_schema-0.3.0.dist-info → dyff_schema-0.3.1.dist-info}/NOTICE +0 -0
- {dyff_schema-0.3.0.dist-info → dyff_schema-0.3.1.dist-info}/WHEEL +0 -0
- {dyff_schema-0.3.0.dist-info → dyff_schema-0.3.1.dist-info}/top_level.txt +0 -0
dyff/schema/v0/r1/platform.py
CHANGED
|
@@ -1120,7 +1120,8 @@ class Report(DyffEntity, ReportBase):
|
|
|
1120
1120
|
return None
|
|
1121
1121
|
|
|
1122
1122
|
|
|
1123
|
-
class QueryableDyffEntity(
|
|
1123
|
+
class QueryableDyffEntity(DyffSchemaBaseModel):
|
|
1124
|
+
id: str = pydantic.Field(description="Unique identifier of the entity")
|
|
1124
1125
|
name: str = pydantic.Field(description="Descriptive name of the resource")
|
|
1125
1126
|
|
|
1126
1127
|
|
|
@@ -1131,26 +1132,26 @@ class MeasurementLevel(str, enum.Enum):
|
|
|
1131
1132
|
|
|
1132
1133
|
class AnalysisOutputQueryFields(DyffSchemaBaseModel):
|
|
1133
1134
|
method: QueryableDyffEntity = pydantic.Field(
|
|
1134
|
-
description="
|
|
1135
|
+
description="Identifying information about the Method that was run to produce the output."
|
|
1135
1136
|
)
|
|
1136
1137
|
|
|
1137
1138
|
dataset: Optional[QueryableDyffEntity] = pydantic.Field(
|
|
1138
1139
|
default=None,
|
|
1139
|
-
description="
|
|
1140
|
+
description="Identifying information about the Dataset being analyzed, if applicable.",
|
|
1140
1141
|
)
|
|
1141
1142
|
|
|
1142
|
-
evaluation: Optional[
|
|
1143
|
+
evaluation: Optional[str] = pydantic.Field(
|
|
1143
1144
|
default=None,
|
|
1144
|
-
description="
|
|
1145
|
+
description="ID of the Evaluation being analyzed, if applicable.",
|
|
1145
1146
|
)
|
|
1146
1147
|
|
|
1147
1148
|
inferenceService: Optional[QueryableDyffEntity] = pydantic.Field(
|
|
1148
1149
|
default=None,
|
|
1149
|
-
description="
|
|
1150
|
+
description="Identifying information about the InferenceService being analyzed, if applicable.",
|
|
1150
1151
|
)
|
|
1151
1152
|
|
|
1152
1153
|
model: Optional[QueryableDyffEntity] = pydantic.Field(
|
|
1153
|
-
description="
|
|
1154
|
+
description="Identifying information about the Model being analyzed, if applicable",
|
|
1154
1155
|
)
|
|
1155
1156
|
|
|
1156
1157
|
|
dyff/schema/v0/r1/requests.py
CHANGED
|
@@ -49,10 +49,6 @@ class DatasetCreateRequest(DyffEntityCreateRequest, DatasetBase):
|
|
|
49
49
|
pass
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
class ModelCreateRequest(DyffEntityCreateRequest, ModelSpec):
|
|
53
|
-
pass
|
|
54
|
-
|
|
55
|
-
|
|
56
52
|
class InferenceServiceCreateRequest(DyffEntityCreateRequest, InferenceServiceBase):
|
|
57
53
|
model: Optional[str] = pydantic.Field(
|
|
58
54
|
default=None, description="ID of Model backing the service, if applicable"
|
|
@@ -80,6 +76,10 @@ class MethodCreateRequest(DyffEntityCreateRequest, MethodBase):
|
|
|
80
76
|
pass
|
|
81
77
|
|
|
82
78
|
|
|
79
|
+
class ModelCreateRequest(DyffEntityCreateRequest, ModelSpec):
|
|
80
|
+
pass
|
|
81
|
+
|
|
82
|
+
|
|
83
83
|
class ModuleCreateRequest(DyffEntityCreateRequest, ModuleBase):
|
|
84
84
|
pass
|
|
85
85
|
|
|
@@ -131,7 +131,9 @@ class DyffEntityQueryRequest(DyffSchemaBaseModel):
|
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
class AnalysisQueryRequest(DyffEntityQueryRequest):
|
|
134
|
-
|
|
134
|
+
method: Optional[str] = pydantic.Field(default=None)
|
|
135
|
+
methodName: Optional[str] = pydantic.Field(default=None)
|
|
136
|
+
methodOutputKind: Optional[str] = pydantic.Field(default=None)
|
|
135
137
|
|
|
136
138
|
|
|
137
139
|
class AuditQueryRequest(DyffEntityQueryRequest):
|
|
@@ -166,12 +168,21 @@ class InferenceSessionQueryRequest(DyffEntityQueryRequest):
|
|
|
166
168
|
|
|
167
169
|
class MeasurementQueryRequest(DyffEntityQueryRequest):
|
|
168
170
|
dataset: Optional[str] = pydantic.Field(default=None)
|
|
171
|
+
datasetName: Optional[str] = pydantic.Field(default=None)
|
|
172
|
+
evaluation: Optional[str] = pydantic.Field(default=None)
|
|
169
173
|
inferenceService: Optional[str] = pydantic.Field(default=None)
|
|
170
174
|
inferenceServiceName: Optional[str] = pydantic.Field(default=None)
|
|
175
|
+
method: Optional[str] = pydantic.Field(default=None)
|
|
176
|
+
methodName: Optional[str] = pydantic.Field(default=None)
|
|
171
177
|
model: Optional[str] = pydantic.Field(default=None)
|
|
172
178
|
modelName: Optional[str] = pydantic.Field(default=None)
|
|
173
179
|
|
|
174
180
|
|
|
181
|
+
class MethodQueryRequest(DyffEntityQueryRequest):
|
|
182
|
+
name: Optional[str] = pydantic.Field(default=None)
|
|
183
|
+
outputKind: Optional[str] = pydantic.Field(default=None)
|
|
184
|
+
|
|
185
|
+
|
|
175
186
|
class ModelQueryRequest(DyffEntityQueryRequest):
|
|
176
187
|
name: Optional[str] = pydantic.Field(default=None)
|
|
177
188
|
|
|
@@ -204,6 +215,9 @@ __all__ = [
|
|
|
204
215
|
"InferenceSessionCreateRequest",
|
|
205
216
|
"InferenceSessionQueryRequest",
|
|
206
217
|
"LabelUpdateRequest",
|
|
218
|
+
"MeasurementQueryRequest",
|
|
219
|
+
"MethodCreateRequest",
|
|
220
|
+
"MethodQueryRequest",
|
|
207
221
|
"ModelCreateRequest",
|
|
208
222
|
"ModelQueryRequest",
|
|
209
223
|
"ModuleCreateRequest",
|
|
@@ -21,8 +21,8 @@ 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=
|
|
25
|
-
dyff/schema/v0/r1/requests.py,sha256=
|
|
24
|
+
dyff/schema/v0/r1/platform.py,sha256=x3rYXHUAadobpnWHSLfA-YiNcYkCDl0_d2tn6Pmzd2M,55306
|
|
25
|
+
dyff/schema/v0/r1/requests.py,sha256=flFGMqFAzl6EU2Ve5Q4p455uHj9EJoUlyiHcXr0Zv6E,7836
|
|
26
26
|
dyff/schema/v0/r1/test.py,sha256=X6dUyVd5svcPCI-PBMOAqEfK9jv3bRDvkQTJzwS96c0,10720
|
|
27
27
|
dyff/schema/v0/r1/version.py,sha256=SG9ds8afHgdrqOA4CEY8-MM3lKfAE9G0rxsG4uyeglE,363
|
|
28
28
|
dyff/schema/v0/r1/dataset/__init__.py,sha256=LbVlkO2asyGYBKk2z49xjJYTM-pu9y9e4eQDXgTDLnM,2553
|
|
@@ -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.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
37
|
+
dyff_schema-0.3.1.dist-info/METADATA,sha256=GW-ZyNeSLL-AmacnYjys7lbvjCWH5DRoiO87KpW5-Dk,3459
|
|
38
|
+
dyff_schema-0.3.1.dist-info/NOTICE,sha256=YONACu0s_Ui6jNi-wtEsVQbTU1JIkh8wvLH6d1-Ni_w,43
|
|
39
|
+
dyff_schema-0.3.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
40
|
+
dyff_schema-0.3.1.dist-info/top_level.txt,sha256=9e3VVdeX73t_sUJOPQPCcGtYO1JhoErhHIi3WoWGcFI,5
|
|
41
|
+
dyff_schema-0.3.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|