dyff-schema 0.6.0__py3-none-any.whl → 0.7.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.
- dyff/schema/v0/r1/requests.py +10 -0
- {dyff_schema-0.6.0.dist-info → dyff_schema-0.7.0.dist-info}/METADATA +1 -1
- {dyff_schema-0.6.0.dist-info → dyff_schema-0.7.0.dist-info}/RECORD +7 -7
- {dyff_schema-0.6.0.dist-info → dyff_schema-0.7.0.dist-info}/LICENSE +0 -0
- {dyff_schema-0.6.0.dist-info → dyff_schema-0.7.0.dist-info}/NOTICE +0 -0
- {dyff_schema-0.6.0.dist-info → dyff_schema-0.7.0.dist-info}/WHEEL +0 -0
- {dyff_schema-0.6.0.dist-info → dyff_schema-0.7.0.dist-info}/top_level.txt +0 -0
dyff/schema/v0/r1/requests.py
CHANGED
|
@@ -13,6 +13,7 @@ in response.
|
|
|
13
13
|
"""
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
from datetime import datetime
|
|
16
17
|
from typing import Any, Optional, Union
|
|
17
18
|
|
|
18
19
|
import pydantic
|
|
@@ -65,6 +66,14 @@ class InferenceSessionCreateRequest(DyffEntityCreateRequest, InferenceSessionBas
|
|
|
65
66
|
inferenceService: str = pydantic.Field(description="InferenceService ID")
|
|
66
67
|
|
|
67
68
|
|
|
69
|
+
class InferenceSessionTokenCreateRequest(SchemaVersion, DyffSchemaBaseModel):
|
|
70
|
+
expires: Optional[datetime] = pydantic.Field(
|
|
71
|
+
default=None,
|
|
72
|
+
description="Expiration time of the token. Must be <= expiration time"
|
|
73
|
+
" of session. Default: expiration time of session.",
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
|
|
68
77
|
class EvaluationInferenceSessionRequest(InferenceSessionBase):
|
|
69
78
|
inferenceService: str = pydantic.Field(description="InferenceService ID")
|
|
70
79
|
|
|
@@ -241,6 +250,7 @@ __all__ = [
|
|
|
241
250
|
"InferenceServiceQueryRequest",
|
|
242
251
|
"InferenceSessionCreateRequest",
|
|
243
252
|
"InferenceSessionQueryRequest",
|
|
253
|
+
"InferenceSessionTokenCreateRequest",
|
|
244
254
|
"LabelUpdateRequest",
|
|
245
255
|
"MeasurementQueryRequest",
|
|
246
256
|
"MethodCreateRequest",
|
|
@@ -22,7 +22,7 @@ dyff/schema/v0/r1/__init__.py,sha256=L5y8UhRnojerPYHumsxQJRcHCNz8Hj9NM8b47mewMNs
|
|
|
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
24
|
dyff/schema/v0/r1/platform.py,sha256=2QcXlSxPZDLqbICoAvwebXcRf3ssvK_X6MJRqxx3AXI,60712
|
|
25
|
-
dyff/schema/v0/r1/requests.py,sha256=
|
|
25
|
+
dyff/schema/v0/r1/requests.py,sha256=OKOBk4fRFCEVEd4cID4DXAY9yQug7kC5da-GXW54U00,8860
|
|
26
26
|
dyff/schema/v0/r1/test.py,sha256=X6dUyVd5svcPCI-PBMOAqEfK9jv3bRDvkQTJzwS96c0,10720
|
|
27
27
|
dyff/schema/v0/r1/version.py,sha256=isKAGuGxsdru8vDaYmI4YiZdJOu_wNxXK7u6QzD6FE4,392
|
|
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.
|
|
37
|
-
dyff_schema-0.
|
|
38
|
-
dyff_schema-0.
|
|
39
|
-
dyff_schema-0.
|
|
40
|
-
dyff_schema-0.
|
|
41
|
-
dyff_schema-0.
|
|
36
|
+
dyff_schema-0.7.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
37
|
+
dyff_schema-0.7.0.dist-info/METADATA,sha256=YmFc5JSsf50GgMl1jUv4Epb-idVIs26oj1_ZuXKzpow,3459
|
|
38
|
+
dyff_schema-0.7.0.dist-info/NOTICE,sha256=YONACu0s_Ui6jNi-wtEsVQbTU1JIkh8wvLH6d1-Ni_w,43
|
|
39
|
+
dyff_schema-0.7.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
40
|
+
dyff_schema-0.7.0.dist-info/top_level.txt,sha256=9e3VVdeX73t_sUJOPQPCcGtYO1JhoErhHIi3WoWGcFI,5
|
|
41
|
+
dyff_schema-0.7.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|