dyff-schema 0.3.0__py3-none-any.whl → 0.3.2__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 +34 -11
- {dyff_schema-0.3.0.dist-info → dyff_schema-0.3.2.dist-info}/METADATA +1 -1
- {dyff_schema-0.3.0.dist-info → dyff_schema-0.3.2.dist-info}/RECORD +8 -8
- {dyff_schema-0.3.0.dist-info → dyff_schema-0.3.2.dist-info}/LICENSE +0 -0
- {dyff_schema-0.3.0.dist-info → dyff_schema-0.3.2.dist-info}/NOTICE +0 -0
- {dyff_schema-0.3.0.dist-info → dyff_schema-0.3.2.dist-info}/WHEEL +0 -0
- {dyff_schema-0.3.0.dist-info → dyff_schema-0.3.2.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
|
|
|
@@ -130,8 +130,22 @@ class DyffEntityQueryRequest(DyffSchemaBaseModel):
|
|
|
130
130
|
return super().json(exclude_unset=exclude_unset, **kwargs)
|
|
131
131
|
|
|
132
132
|
|
|
133
|
+
class _AnalysisProductQueryRequest(DyffEntityQueryRequest):
|
|
134
|
+
dataset: Optional[str] = pydantic.Field(default=None)
|
|
135
|
+
datasetName: Optional[str] = pydantic.Field(default=None)
|
|
136
|
+
evaluation: Optional[str] = pydantic.Field(default=None)
|
|
137
|
+
inferenceService: Optional[str] = pydantic.Field(default=None)
|
|
138
|
+
inferenceServiceName: Optional[str] = pydantic.Field(default=None)
|
|
139
|
+
method: Optional[str] = pydantic.Field(default=None)
|
|
140
|
+
methodName: Optional[str] = pydantic.Field(default=None)
|
|
141
|
+
model: Optional[str] = pydantic.Field(default=None)
|
|
142
|
+
modelName: Optional[str] = pydantic.Field(default=None)
|
|
143
|
+
|
|
144
|
+
|
|
133
145
|
class AnalysisQueryRequest(DyffEntityQueryRequest):
|
|
134
|
-
|
|
146
|
+
method: Optional[str] = pydantic.Field(default=None)
|
|
147
|
+
methodName: Optional[str] = pydantic.Field(default=None)
|
|
148
|
+
methodOutputKind: Optional[str] = pydantic.Field(default=None)
|
|
135
149
|
|
|
136
150
|
|
|
137
151
|
class AuditQueryRequest(DyffEntityQueryRequest):
|
|
@@ -164,12 +178,13 @@ class InferenceSessionQueryRequest(DyffEntityQueryRequest):
|
|
|
164
178
|
modelName: Optional[str] = pydantic.Field(default=None)
|
|
165
179
|
|
|
166
180
|
|
|
167
|
-
class MeasurementQueryRequest(
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
181
|
+
class MeasurementQueryRequest(_AnalysisProductQueryRequest):
|
|
182
|
+
pass
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
class MethodQueryRequest(DyffEntityQueryRequest):
|
|
186
|
+
name: Optional[str] = pydantic.Field(default=None)
|
|
187
|
+
outputKind: Optional[str] = pydantic.Field(default=None)
|
|
173
188
|
|
|
174
189
|
|
|
175
190
|
class ModelQueryRequest(DyffEntityQueryRequest):
|
|
@@ -188,6 +203,10 @@ class ReportQueryRequest(DyffEntityQueryRequest):
|
|
|
188
203
|
model: Optional[str] = pydantic.Field(default=None)
|
|
189
204
|
|
|
190
205
|
|
|
206
|
+
class SafetyCaseQueryRequest(_AnalysisProductQueryRequest):
|
|
207
|
+
pass
|
|
208
|
+
|
|
209
|
+
|
|
191
210
|
__all__ = [
|
|
192
211
|
"AnalysisCreateRequest",
|
|
193
212
|
"AnalysisQueryRequest",
|
|
@@ -204,10 +223,14 @@ __all__ = [
|
|
|
204
223
|
"InferenceSessionCreateRequest",
|
|
205
224
|
"InferenceSessionQueryRequest",
|
|
206
225
|
"LabelUpdateRequest",
|
|
226
|
+
"MeasurementQueryRequest",
|
|
227
|
+
"MethodCreateRequest",
|
|
228
|
+
"MethodQueryRequest",
|
|
207
229
|
"ModelCreateRequest",
|
|
208
230
|
"ModelQueryRequest",
|
|
209
231
|
"ModuleCreateRequest",
|
|
210
232
|
"ModuleQueryRequest",
|
|
211
233
|
"ReportCreateRequest",
|
|
212
234
|
"ReportQueryRequest",
|
|
235
|
+
"SafetyCaseQueryRequest",
|
|
213
236
|
]
|
|
@@ -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=jUznZzafF2qSQBBkdXFMDtslCkayg59yFH99NcQHYmk,8014
|
|
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.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
37
|
+
dyff_schema-0.3.2.dist-info/METADATA,sha256=9wmt-XIH7Gun3SDpjo2OEZ5pncg9cdmGbU2h0cBdgOg,3459
|
|
38
|
+
dyff_schema-0.3.2.dist-info/NOTICE,sha256=YONACu0s_Ui6jNi-wtEsVQbTU1JIkh8wvLH6d1-Ni_w,43
|
|
39
|
+
dyff_schema-0.3.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
40
|
+
dyff_schema-0.3.2.dist-info/top_level.txt,sha256=9e3VVdeX73t_sUJOPQPCcGtYO1JhoErhHIi3WoWGcFI,5
|
|
41
|
+
dyff_schema-0.3.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|