dyff-schema 0.36.1__py3-none-any.whl → 0.36.3__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/_version.py +2 -2
- dyff/schema/v0/r1/commands.py +20 -20
- {dyff_schema-0.36.1.dist-info → dyff_schema-0.36.3.dist-info}/METADATA +1 -1
- {dyff_schema-0.36.1.dist-info → dyff_schema-0.36.3.dist-info}/RECORD +8 -8
- {dyff_schema-0.36.1.dist-info → dyff_schema-0.36.3.dist-info}/WHEEL +0 -0
- {dyff_schema-0.36.1.dist-info → dyff_schema-0.36.3.dist-info}/licenses/LICENSE +0 -0
- {dyff_schema-0.36.1.dist-info → dyff_schema-0.36.3.dist-info}/licenses/NOTICE +0 -0
- {dyff_schema-0.36.1.dist-info → dyff_schema-0.36.3.dist-info}/top_level.txt +0 -0
dyff/schema/_version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = version = "0.36.
|
|
2
|
-
__version_tuple__ = version_tuple = (0, 36,
|
|
1
|
+
__version__ = version = "0.36.3"
|
|
2
|
+
__version_tuple__ = version_tuple = (0, 36, 3)
|
dyff/schema/v0/r1/commands.py
CHANGED
|
@@ -147,13 +147,8 @@ class EditChallengeContentPatch(DyffSchemaBaseModel):
|
|
|
147
147
|
)
|
|
148
148
|
|
|
149
149
|
|
|
150
|
-
class EditChallengeContentAttributes(
|
|
151
|
-
"""Attributes for the
|
|
152
|
-
|
|
153
|
-
content: Optional[EditChallengeContentPatch] = pydantic.Field(
|
|
154
|
-
default=None,
|
|
155
|
-
description="Edits to make to the content of the main challenge page.",
|
|
156
|
-
)
|
|
150
|
+
class EditChallengeContentAttributes(EditChallengeContentPatch):
|
|
151
|
+
"""Attributes for the EditChallengeContent command."""
|
|
157
152
|
|
|
158
153
|
tasks: Optional[dict[str, EditChallengeContentPatch]] = pydantic.Field(
|
|
159
154
|
default=None, description="Edits to make to the content of the challenge tasks."
|
|
@@ -161,7 +156,7 @@ class EditChallengeContentAttributes(DyffSchemaBaseModel):
|
|
|
161
156
|
|
|
162
157
|
|
|
163
158
|
class EditChallengeContentData(EntityIdentifier):
|
|
164
|
-
"""Payload data for the
|
|
159
|
+
"""Payload data for the EditChallengeContent command."""
|
|
165
160
|
|
|
166
161
|
attributes: EditChallengeContentAttributes = pydantic.Field(
|
|
167
162
|
description="The command attributes"
|
|
@@ -183,7 +178,7 @@ class EditChallengeContent(Command):
|
|
|
183
178
|
# ----------------------------------------------------------------------------
|
|
184
179
|
|
|
185
180
|
|
|
186
|
-
class
|
|
181
|
+
class ChallengeTaskRulesExecutionEnvironmentPatch(JsonMergePatchSemantics):
|
|
187
182
|
"""Same properties as ChallengeTaskExecutionEnvironmentChocies, but assigning None
|
|
188
183
|
to a field is interpreted as a command to delete that field.
|
|
189
184
|
|
|
@@ -198,7 +193,7 @@ class EditChallengeTaskRulesExecutionEnvironmentChoices(JsonMergePatchSemantics)
|
|
|
198
193
|
)
|
|
199
194
|
|
|
200
195
|
|
|
201
|
-
class
|
|
196
|
+
class ChallengeTaskRulesSchedulePatch(JsonMergePatchSemantics):
|
|
202
197
|
"""Same properties as ChallengeTaskSchedule, but assigning None to a field is
|
|
203
198
|
interpreted as a command to delete that field.
|
|
204
199
|
|
|
@@ -231,26 +226,27 @@ class EditChallengeTaskRulesSchedule(JsonMergePatchSemantics):
|
|
|
231
226
|
)
|
|
232
227
|
|
|
233
228
|
|
|
234
|
-
class
|
|
229
|
+
class ChallengeTaskRulesPatch(DyffSchemaBaseModel):
|
|
235
230
|
"""Same properties as ChallengeTaskRules, but assigning None to a field is
|
|
236
231
|
interpreted as a command to delete that field.
|
|
237
232
|
|
|
238
233
|
Fields that are not assigned explicitly remain unchanged.
|
|
239
234
|
"""
|
|
240
235
|
|
|
241
|
-
executionEnvironment: Optional[
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
236
|
+
executionEnvironment: Optional[ChallengeTaskRulesExecutionEnvironmentPatch] = (
|
|
237
|
+
pydantic.Field(
|
|
238
|
+
default=None,
|
|
239
|
+
description="Patch for the .rules.executionEnvironments field.",
|
|
240
|
+
)
|
|
245
241
|
)
|
|
246
|
-
schedule: Optional[
|
|
242
|
+
schedule: Optional[ChallengeTaskRulesSchedulePatch] = pydantic.Field(
|
|
247
243
|
default=None, description="Patch for the .rules.schedule field."
|
|
248
244
|
)
|
|
249
245
|
|
|
250
246
|
@field_serializer("executionEnvironment")
|
|
251
247
|
def _serialize_executionEnvironment(
|
|
252
248
|
self,
|
|
253
|
-
executionEnvironment:
|
|
249
|
+
executionEnvironment: ChallengeTaskRulesExecutionEnvironmentPatch,
|
|
254
250
|
_info,
|
|
255
251
|
):
|
|
256
252
|
return executionEnvironment.model_dump(mode=_info.mode)
|
|
@@ -258,7 +254,7 @@ class EditChallengeTaskRulesPatch(DyffSchemaBaseModel):
|
|
|
258
254
|
@field_serializer("schedule")
|
|
259
255
|
def _serialize_schedule(
|
|
260
256
|
self,
|
|
261
|
-
schedule:
|
|
257
|
+
schedule: ChallengeTaskRulesSchedulePatch,
|
|
262
258
|
_info,
|
|
263
259
|
):
|
|
264
260
|
return schedule.model_dump(mode=_info.mode)
|
|
@@ -267,7 +263,7 @@ class EditChallengeTaskRulesPatch(DyffSchemaBaseModel):
|
|
|
267
263
|
class EditChallengeTaskRulesAttributes(DyffSchemaBaseModel):
|
|
268
264
|
"""Attributes for the EditChallengeTaskRules command."""
|
|
269
265
|
|
|
270
|
-
rules:
|
|
266
|
+
rules: ChallengeTaskRulesPatch = pydantic.Field(
|
|
271
267
|
description="Edits to make to the task rules."
|
|
272
268
|
)
|
|
273
269
|
|
|
@@ -532,6 +528,11 @@ DyffCommandType = Union[
|
|
|
532
528
|
|
|
533
529
|
|
|
534
530
|
__all__ = [
|
|
531
|
+
"ChallengeContentPagePatch",
|
|
532
|
+
"ChallengeContentPatch",
|
|
533
|
+
"ChallengeTaskRulesExecutionEnvironmentPatch",
|
|
534
|
+
"ChallengeTaskRulesSchedulePatch",
|
|
535
|
+
"ChallengeTaskRulesPatch",
|
|
535
536
|
"Command",
|
|
536
537
|
"CreateChallengeTask",
|
|
537
538
|
"CreateChallengeTaskAttributes",
|
|
@@ -541,7 +542,6 @@ __all__ = [
|
|
|
541
542
|
"EditChallengeContent",
|
|
542
543
|
"EditChallengeContentAttributes",
|
|
543
544
|
"EditChallengeContentData",
|
|
544
|
-
"EditChallengeContentPagePatch",
|
|
545
545
|
"EditChallengeContentPatch",
|
|
546
546
|
"EditEntityDocumentation",
|
|
547
547
|
"EditEntityDocumentationAttributes",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
dyff/schema/__init__.py,sha256=w7OWDFuyGKd6xt_yllNtKzHahPgywrfU4Ue02psYaMA,2244
|
|
2
|
-
dyff/schema/_version.py,sha256=
|
|
2
|
+
dyff/schema/_version.py,sha256=zQoKKVMJoTu72u7ApM6l7mrnBuHh2dobkROsJsjOry4,80
|
|
3
3
|
dyff/schema/adapters.py,sha256=YMTHv_2VlLGFp-Kqwa6H51hjffHmk8gXjZilHysIF5Q,123
|
|
4
4
|
dyff/schema/annotations.py,sha256=nE6Jk1PLqlShj8uqjE_EzZC9zYnTDW5AVtQcjysiK8M,10018
|
|
5
5
|
dyff/schema/base.py,sha256=jvaNtsSZyFfsdUZTcY_U-yfLY5_GyrMxSXhON2R9XR0,119
|
|
@@ -27,7 +27,7 @@ dyff/schema/v0/__init__.py,sha256=L5y8UhRnojerPYHumsxQJRcHCNz8Hj9NM8b47mewMNs,92
|
|
|
27
27
|
dyff/schema/v0/r1/__init__.py,sha256=L5y8UhRnojerPYHumsxQJRcHCNz8Hj9NM8b47mewMNs,92
|
|
28
28
|
dyff/schema/v0/r1/adapters.py,sha256=hpwCSW8lkMkUKCLe0zaMUDu-VS_caSxJvPsECEi_XRA,33069
|
|
29
29
|
dyff/schema/v0/r1/base.py,sha256=1VJXVLKldOq3aH2HdVgxXXk4DJTZEIiaTa4GzMKzziU,20228
|
|
30
|
-
dyff/schema/v0/r1/commands.py,sha256=
|
|
30
|
+
dyff/schema/v0/r1/commands.py,sha256=nc5ldvuGxHN-NltzUtBzfYYQNVuQIwm4JWo44-WgpMg,17817
|
|
31
31
|
dyff/schema/v0/r1/oci.py,sha256=YjHDVBJ2IIxqijll70OK6pM-qT6pq8tvU7D3YB9vGM0,6700
|
|
32
32
|
dyff/schema/v0/r1/platform.py,sha256=UVDc4loKNQIw0J6PD_aDSGhxQLdorwz8lXwikhf-ORo,102071
|
|
33
33
|
dyff/schema/v0/r1/requests.py,sha256=v9t8wg6ZYGCPp05HFtOnw093nCD9ED_lLOK__4Z2d4s,18584
|
|
@@ -43,9 +43,9 @@ dyff/schema/v0/r1/dataset/text.py,sha256=MYG5seGODDryRSCy-g0Unh5dD0HCytmZ3FeElC-
|
|
|
43
43
|
dyff/schema/v0/r1/dataset/vision.py,sha256=tJFF4dkhHX0UXTj1sPW-G22xTSI40gbYO465FuvmvAU,443
|
|
44
44
|
dyff/schema/v0/r1/io/__init__.py,sha256=L5y8UhRnojerPYHumsxQJRcHCNz8Hj9NM8b47mewMNs,92
|
|
45
45
|
dyff/schema/v0/r1/io/vllm.py,sha256=vWyLg-susbg0JDfv6VExBpgFdU2GHP2a14ChOdbckvs,5321
|
|
46
|
-
dyff_schema-0.36.
|
|
47
|
-
dyff_schema-0.36.
|
|
48
|
-
dyff_schema-0.36.
|
|
49
|
-
dyff_schema-0.36.
|
|
50
|
-
dyff_schema-0.36.
|
|
51
|
-
dyff_schema-0.36.
|
|
46
|
+
dyff_schema-0.36.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
47
|
+
dyff_schema-0.36.3.dist-info/licenses/NOTICE,sha256=YONACu0s_Ui6jNi-wtEsVQbTU1JIkh8wvLH6d1-Ni_w,43
|
|
48
|
+
dyff_schema-0.36.3.dist-info/METADATA,sha256=zaG9cfiYbel_3Pydr7-zdVOnTBmjmTzOKqm0u9-efx8,3734
|
|
49
|
+
dyff_schema-0.36.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
50
|
+
dyff_schema-0.36.3.dist-info/top_level.txt,sha256=9e3VVdeX73t_sUJOPQPCcGtYO1JhoErhHIi3WoWGcFI,5
|
|
51
|
+
dyff_schema-0.36.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|