dyff-schema 0.31.2__py3-none-any.whl → 0.32.0__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/responses.py +4 -0
- dyff/schema/v0/r1/responses.py +38 -0
- {dyff_schema-0.31.2.dist-info → dyff_schema-0.32.0.dist-info}/METADATA +1 -1
- {dyff_schema-0.31.2.dist-info → dyff_schema-0.32.0.dist-info}/RECORD +9 -7
- {dyff_schema-0.31.2.dist-info → dyff_schema-0.32.0.dist-info}/WHEEL +0 -0
- {dyff_schema-0.31.2.dist-info → dyff_schema-0.32.0.dist-info}/licenses/LICENSE +0 -0
- {dyff_schema-0.31.2.dist-info → dyff_schema-0.32.0.dist-info}/licenses/NOTICE +0 -0
- {dyff_schema-0.31.2.dist-info → dyff_schema-0.32.0.dist-info}/top_level.txt +0 -0
dyff/schema/_version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = version = "0.
|
|
2
|
-
__version_tuple__ = version_tuple = (0,
|
|
1
|
+
__version__ = version = "0.32.0"
|
|
2
|
+
__version_tuple__ = version_tuple = (0, 32, 0)
|
dyff/schema/responses.py
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2024 UL Research Institutes
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
"""API response schemas for dyff platform endpoints.
|
|
4
|
+
|
|
5
|
+
These types represent the structured responses returned by dyff API endpoints. They are
|
|
6
|
+
shared between the API server and client libraries to ensure consistent data structures.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from __future__ import annotations
|
|
10
|
+
|
|
11
|
+
from typing import Dict, List
|
|
12
|
+
|
|
13
|
+
import pydantic
|
|
14
|
+
|
|
15
|
+
from .base import DyffSchemaBaseModel
|
|
16
|
+
from .platform import EntityIdentifier
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class WorkflowLogEntry(DyffSchemaBaseModel):
|
|
20
|
+
"""A single log entry from workflow infrastructure logs."""
|
|
21
|
+
|
|
22
|
+
timestamp: str = pydantic.Field(description="ISO 8601 timestamp")
|
|
23
|
+
message: str = pydantic.Field(description="Log message content")
|
|
24
|
+
labels: Dict[str, str] = pydantic.Field(
|
|
25
|
+
description="Kubernetes labels associated with the log entry"
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class WorkflowLogsResponse(DyffSchemaBaseModel):
|
|
30
|
+
"""Response from workflow logs endpoint."""
|
|
31
|
+
|
|
32
|
+
workflow: EntityIdentifier = pydantic.Field(
|
|
33
|
+
description="Entity that generated these workflow logs"
|
|
34
|
+
)
|
|
35
|
+
logs: List[WorkflowLogEntry] = pydantic.Field(
|
|
36
|
+
description="Log entries from the workflow execution"
|
|
37
|
+
)
|
|
38
|
+
totalLines: int = pydantic.Field(description="Total number of log lines available")
|
|
@@ -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=cSUDf-klGYAh3VKPYjjxhNT8qv04wlp3-jjPmvgZjS0,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
|
|
@@ -11,6 +11,7 @@ dyff/schema/platform.py,sha256=peHzGGSd5dQ-EFXrWDjBqMUtoOL3iCHxcV3XzW6Rjag,123
|
|
|
11
11
|
dyff/schema/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
12
|
dyff/schema/quantity.py,sha256=hhS9ybqW_6I--acPhkoZbFWASxFTEs7CUjO4pmpBJ98,3788
|
|
13
13
|
dyff/schema/requests.py,sha256=euObiC5IRe9fGev9ND--bcysuACNBDhSbZ5kONSaRwE,123
|
|
14
|
+
dyff/schema/responses.py,sha256=9ZAwDppjFzkWXRhPSxDOT5dDo7VbWk1dgNIc000mRPk,124
|
|
14
15
|
dyff/schema/test.py,sha256=xtXZHqdVi_bjGXFFrd4nU10Y9CiukPyZj03rL84ckD4,119
|
|
15
16
|
dyff/schema/version.py,sha256=MZhYsYOVmMuZo0R1vl1iSus7zfB8UerDcEgoZg7Ln7s,372
|
|
16
17
|
dyff/schema/dataset/__init__.py,sha256=P4tOKKiOFaVeh3-Keiwpg9n7VTQUJQVOIVZhm8sdArE,123
|
|
@@ -29,6 +30,7 @@ dyff/schema/v0/r1/base.py,sha256=fdhAa4hpbSn7m3U0qha4rG7gJiYUvPR8SaM-mwszoy0,202
|
|
|
29
30
|
dyff/schema/v0/r1/commands.py,sha256=VoThKeIVz4ZQAqBXhb6TVOG6aG4m_Oa0_6Sc4oxyFhs,9801
|
|
30
31
|
dyff/schema/v0/r1/platform.py,sha256=7ErqSqPLQD2bIEqnJByktBb7RaQYRkZbqQsofb0dFIM,82736
|
|
31
32
|
dyff/schema/v0/r1/requests.py,sha256=C-LX-NAIDgh88xCl3NW7wqLIpurK8SXqmhRnGvy4BM0,17197
|
|
33
|
+
dyff/schema/v0/r1/responses.py,sha256=nxy7FPtfw2B_bljz5UGGuSE79HTkDQxKH56AJVmd4Qo,1287
|
|
32
34
|
dyff/schema/v0/r1/test.py,sha256=X6dUyVd5svcPCI-PBMOAqEfK9jv3bRDvkQTJzwS96c0,10720
|
|
33
35
|
dyff/schema/v0/r1/version.py,sha256=NONebgcv5Thsw_ymud6PacZdGjV6ndBrmLnap-obcpo,428
|
|
34
36
|
dyff/schema/v0/r1/dataset/__init__.py,sha256=LbVlkO2asyGYBKk2z49xjJYTM-pu9y9e4eQDXgTDLnM,2553
|
|
@@ -40,9 +42,9 @@ dyff/schema/v0/r1/dataset/text.py,sha256=MYG5seGODDryRSCy-g0Unh5dD0HCytmZ3FeElC-
|
|
|
40
42
|
dyff/schema/v0/r1/dataset/vision.py,sha256=aIe0fbfM_g3DsrDTdg2K803YKLjZBpurM_VJcJFuZLc,369
|
|
41
43
|
dyff/schema/v0/r1/io/__init__.py,sha256=L5y8UhRnojerPYHumsxQJRcHCNz8Hj9NM8b47mewMNs,92
|
|
42
44
|
dyff/schema/v0/r1/io/vllm.py,sha256=vWyLg-susbg0JDfv6VExBpgFdU2GHP2a14ChOdbckvs,5321
|
|
43
|
-
dyff_schema-0.
|
|
44
|
-
dyff_schema-0.
|
|
45
|
-
dyff_schema-0.
|
|
46
|
-
dyff_schema-0.
|
|
47
|
-
dyff_schema-0.
|
|
48
|
-
dyff_schema-0.
|
|
45
|
+
dyff_schema-0.32.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
46
|
+
dyff_schema-0.32.0.dist-info/licenses/NOTICE,sha256=YONACu0s_Ui6jNi-wtEsVQbTU1JIkh8wvLH6d1-Ni_w,43
|
|
47
|
+
dyff_schema-0.32.0.dist-info/METADATA,sha256=_DgORzGNTURV5pqYZS014MpFJOFufqQ--rpSCfIupKA,3632
|
|
48
|
+
dyff_schema-0.32.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
49
|
+
dyff_schema-0.32.0.dist-info/top_level.txt,sha256=9e3VVdeX73t_sUJOPQPCcGtYO1JhoErhHIi3WoWGcFI,5
|
|
50
|
+
dyff_schema-0.32.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|