windmill-api 1.371.3__py3-none-any.whl → 1.372.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 windmill-api might be problematic. Click here for more details.
- windmill_api/api/variable/list_variable.py +30 -0
- windmill_api/models/create_variable.py +17 -0
- windmill_api/models/create_variable_json_body.py +17 -0
- windmill_api/models/get_variable_response_200.py +17 -0
- windmill_api/models/list_variable_response_200_item.py +17 -0
- windmill_api/models/listable_variable.py +17 -0
- {windmill_api-1.371.3.dist-info → windmill_api-1.372.0.dist-info}/METADATA +1 -1
- {windmill_api-1.371.3.dist-info → windmill_api-1.372.0.dist-info}/RECORD +10 -10
- {windmill_api-1.371.3.dist-info → windmill_api-1.372.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.371.3.dist-info → windmill_api-1.372.0.dist-info}/WHEEL +0 -0
|
@@ -13,12 +13,18 @@ def _get_kwargs(
|
|
|
13
13
|
workspace: str,
|
|
14
14
|
*,
|
|
15
15
|
path_start: Union[Unset, None, str] = UNSET,
|
|
16
|
+
page: Union[Unset, None, int] = UNSET,
|
|
17
|
+
per_page: Union[Unset, None, int] = UNSET,
|
|
16
18
|
) -> Dict[str, Any]:
|
|
17
19
|
pass
|
|
18
20
|
|
|
19
21
|
params: Dict[str, Any] = {}
|
|
20
22
|
params["path_start"] = path_start
|
|
21
23
|
|
|
24
|
+
params["page"] = page
|
|
25
|
+
|
|
26
|
+
params["per_page"] = per_page
|
|
27
|
+
|
|
22
28
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
23
29
|
|
|
24
30
|
return {
|
|
@@ -64,12 +70,16 @@ def sync_detailed(
|
|
|
64
70
|
*,
|
|
65
71
|
client: Union[AuthenticatedClient, Client],
|
|
66
72
|
path_start: Union[Unset, None, str] = UNSET,
|
|
73
|
+
page: Union[Unset, None, int] = UNSET,
|
|
74
|
+
per_page: Union[Unset, None, int] = UNSET,
|
|
67
75
|
) -> Response[List["ListVariableResponse200Item"]]:
|
|
68
76
|
"""list variables
|
|
69
77
|
|
|
70
78
|
Args:
|
|
71
79
|
workspace (str):
|
|
72
80
|
path_start (Union[Unset, None, str]):
|
|
81
|
+
page (Union[Unset, None, int]):
|
|
82
|
+
per_page (Union[Unset, None, int]):
|
|
73
83
|
|
|
74
84
|
Raises:
|
|
75
85
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -82,6 +92,8 @@ def sync_detailed(
|
|
|
82
92
|
kwargs = _get_kwargs(
|
|
83
93
|
workspace=workspace,
|
|
84
94
|
path_start=path_start,
|
|
95
|
+
page=page,
|
|
96
|
+
per_page=per_page,
|
|
85
97
|
)
|
|
86
98
|
|
|
87
99
|
response = client.get_httpx_client().request(
|
|
@@ -96,12 +108,16 @@ def sync(
|
|
|
96
108
|
*,
|
|
97
109
|
client: Union[AuthenticatedClient, Client],
|
|
98
110
|
path_start: Union[Unset, None, str] = UNSET,
|
|
111
|
+
page: Union[Unset, None, int] = UNSET,
|
|
112
|
+
per_page: Union[Unset, None, int] = UNSET,
|
|
99
113
|
) -> Optional[List["ListVariableResponse200Item"]]:
|
|
100
114
|
"""list variables
|
|
101
115
|
|
|
102
116
|
Args:
|
|
103
117
|
workspace (str):
|
|
104
118
|
path_start (Union[Unset, None, str]):
|
|
119
|
+
page (Union[Unset, None, int]):
|
|
120
|
+
per_page (Union[Unset, None, int]):
|
|
105
121
|
|
|
106
122
|
Raises:
|
|
107
123
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -115,6 +131,8 @@ def sync(
|
|
|
115
131
|
workspace=workspace,
|
|
116
132
|
client=client,
|
|
117
133
|
path_start=path_start,
|
|
134
|
+
page=page,
|
|
135
|
+
per_page=per_page,
|
|
118
136
|
).parsed
|
|
119
137
|
|
|
120
138
|
|
|
@@ -123,12 +141,16 @@ async def asyncio_detailed(
|
|
|
123
141
|
*,
|
|
124
142
|
client: Union[AuthenticatedClient, Client],
|
|
125
143
|
path_start: Union[Unset, None, str] = UNSET,
|
|
144
|
+
page: Union[Unset, None, int] = UNSET,
|
|
145
|
+
per_page: Union[Unset, None, int] = UNSET,
|
|
126
146
|
) -> Response[List["ListVariableResponse200Item"]]:
|
|
127
147
|
"""list variables
|
|
128
148
|
|
|
129
149
|
Args:
|
|
130
150
|
workspace (str):
|
|
131
151
|
path_start (Union[Unset, None, str]):
|
|
152
|
+
page (Union[Unset, None, int]):
|
|
153
|
+
per_page (Union[Unset, None, int]):
|
|
132
154
|
|
|
133
155
|
Raises:
|
|
134
156
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -141,6 +163,8 @@ async def asyncio_detailed(
|
|
|
141
163
|
kwargs = _get_kwargs(
|
|
142
164
|
workspace=workspace,
|
|
143
165
|
path_start=path_start,
|
|
166
|
+
page=page,
|
|
167
|
+
per_page=per_page,
|
|
144
168
|
)
|
|
145
169
|
|
|
146
170
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -153,12 +177,16 @@ async def asyncio(
|
|
|
153
177
|
*,
|
|
154
178
|
client: Union[AuthenticatedClient, Client],
|
|
155
179
|
path_start: Union[Unset, None, str] = UNSET,
|
|
180
|
+
page: Union[Unset, None, int] = UNSET,
|
|
181
|
+
per_page: Union[Unset, None, int] = UNSET,
|
|
156
182
|
) -> Optional[List["ListVariableResponse200Item"]]:
|
|
157
183
|
"""list variables
|
|
158
184
|
|
|
159
185
|
Args:
|
|
160
186
|
workspace (str):
|
|
161
187
|
path_start (Union[Unset, None, str]):
|
|
188
|
+
page (Union[Unset, None, int]):
|
|
189
|
+
per_page (Union[Unset, None, int]):
|
|
162
190
|
|
|
163
191
|
Raises:
|
|
164
192
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -173,5 +201,7 @@ async def asyncio(
|
|
|
173
201
|
workspace=workspace,
|
|
174
202
|
client=client,
|
|
175
203
|
path_start=path_start,
|
|
204
|
+
page=page,
|
|
205
|
+
per_page=per_page,
|
|
176
206
|
)
|
|
177
207
|
).parsed
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import datetime
|
|
1
2
|
from typing import Any, Dict, List, Type, TypeVar, Union
|
|
2
3
|
|
|
3
4
|
from attrs import define as _attrs_define
|
|
4
5
|
from attrs import field as _attrs_field
|
|
6
|
+
from dateutil.parser import isoparse
|
|
5
7
|
|
|
6
8
|
from ..types import UNSET, Unset
|
|
7
9
|
|
|
@@ -18,6 +20,7 @@ class CreateVariable:
|
|
|
18
20
|
description (str):
|
|
19
21
|
account (Union[Unset, int]):
|
|
20
22
|
is_oauth (Union[Unset, bool]):
|
|
23
|
+
expires_at (Union[Unset, datetime.datetime]):
|
|
21
24
|
"""
|
|
22
25
|
|
|
23
26
|
path: str
|
|
@@ -26,6 +29,7 @@ class CreateVariable:
|
|
|
26
29
|
description: str
|
|
27
30
|
account: Union[Unset, int] = UNSET
|
|
28
31
|
is_oauth: Union[Unset, bool] = UNSET
|
|
32
|
+
expires_at: Union[Unset, datetime.datetime] = UNSET
|
|
29
33
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
30
34
|
|
|
31
35
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -35,6 +39,9 @@ class CreateVariable:
|
|
|
35
39
|
description = self.description
|
|
36
40
|
account = self.account
|
|
37
41
|
is_oauth = self.is_oauth
|
|
42
|
+
expires_at: Union[Unset, str] = UNSET
|
|
43
|
+
if not isinstance(self.expires_at, Unset):
|
|
44
|
+
expires_at = self.expires_at.isoformat()
|
|
38
45
|
|
|
39
46
|
field_dict: Dict[str, Any] = {}
|
|
40
47
|
field_dict.update(self.additional_properties)
|
|
@@ -50,6 +57,8 @@ class CreateVariable:
|
|
|
50
57
|
field_dict["account"] = account
|
|
51
58
|
if is_oauth is not UNSET:
|
|
52
59
|
field_dict["is_oauth"] = is_oauth
|
|
60
|
+
if expires_at is not UNSET:
|
|
61
|
+
field_dict["expires_at"] = expires_at
|
|
53
62
|
|
|
54
63
|
return field_dict
|
|
55
64
|
|
|
@@ -68,6 +77,13 @@ class CreateVariable:
|
|
|
68
77
|
|
|
69
78
|
is_oauth = d.pop("is_oauth", UNSET)
|
|
70
79
|
|
|
80
|
+
_expires_at = d.pop("expires_at", UNSET)
|
|
81
|
+
expires_at: Union[Unset, datetime.datetime]
|
|
82
|
+
if isinstance(_expires_at, Unset):
|
|
83
|
+
expires_at = UNSET
|
|
84
|
+
else:
|
|
85
|
+
expires_at = isoparse(_expires_at)
|
|
86
|
+
|
|
71
87
|
create_variable = cls(
|
|
72
88
|
path=path,
|
|
73
89
|
value=value,
|
|
@@ -75,6 +91,7 @@ class CreateVariable:
|
|
|
75
91
|
description=description,
|
|
76
92
|
account=account,
|
|
77
93
|
is_oauth=is_oauth,
|
|
94
|
+
expires_at=expires_at,
|
|
78
95
|
)
|
|
79
96
|
|
|
80
97
|
create_variable.additional_properties = d
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import datetime
|
|
1
2
|
from typing import Any, Dict, List, Type, TypeVar, Union
|
|
2
3
|
|
|
3
4
|
from attrs import define as _attrs_define
|
|
4
5
|
from attrs import field as _attrs_field
|
|
6
|
+
from dateutil.parser import isoparse
|
|
5
7
|
|
|
6
8
|
from ..types import UNSET, Unset
|
|
7
9
|
|
|
@@ -18,6 +20,7 @@ class CreateVariableJsonBody:
|
|
|
18
20
|
description (str):
|
|
19
21
|
account (Union[Unset, int]):
|
|
20
22
|
is_oauth (Union[Unset, bool]):
|
|
23
|
+
expires_at (Union[Unset, datetime.datetime]):
|
|
21
24
|
"""
|
|
22
25
|
|
|
23
26
|
path: str
|
|
@@ -26,6 +29,7 @@ class CreateVariableJsonBody:
|
|
|
26
29
|
description: str
|
|
27
30
|
account: Union[Unset, int] = UNSET
|
|
28
31
|
is_oauth: Union[Unset, bool] = UNSET
|
|
32
|
+
expires_at: Union[Unset, datetime.datetime] = UNSET
|
|
29
33
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
30
34
|
|
|
31
35
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -35,6 +39,9 @@ class CreateVariableJsonBody:
|
|
|
35
39
|
description = self.description
|
|
36
40
|
account = self.account
|
|
37
41
|
is_oauth = self.is_oauth
|
|
42
|
+
expires_at: Union[Unset, str] = UNSET
|
|
43
|
+
if not isinstance(self.expires_at, Unset):
|
|
44
|
+
expires_at = self.expires_at.isoformat()
|
|
38
45
|
|
|
39
46
|
field_dict: Dict[str, Any] = {}
|
|
40
47
|
field_dict.update(self.additional_properties)
|
|
@@ -50,6 +57,8 @@ class CreateVariableJsonBody:
|
|
|
50
57
|
field_dict["account"] = account
|
|
51
58
|
if is_oauth is not UNSET:
|
|
52
59
|
field_dict["is_oauth"] = is_oauth
|
|
60
|
+
if expires_at is not UNSET:
|
|
61
|
+
field_dict["expires_at"] = expires_at
|
|
53
62
|
|
|
54
63
|
return field_dict
|
|
55
64
|
|
|
@@ -68,6 +77,13 @@ class CreateVariableJsonBody:
|
|
|
68
77
|
|
|
69
78
|
is_oauth = d.pop("is_oauth", UNSET)
|
|
70
79
|
|
|
80
|
+
_expires_at = d.pop("expires_at", UNSET)
|
|
81
|
+
expires_at: Union[Unset, datetime.datetime]
|
|
82
|
+
if isinstance(_expires_at, Unset):
|
|
83
|
+
expires_at = UNSET
|
|
84
|
+
else:
|
|
85
|
+
expires_at = isoparse(_expires_at)
|
|
86
|
+
|
|
71
87
|
create_variable_json_body = cls(
|
|
72
88
|
path=path,
|
|
73
89
|
value=value,
|
|
@@ -75,6 +91,7 @@ class CreateVariableJsonBody:
|
|
|
75
91
|
description=description,
|
|
76
92
|
account=account,
|
|
77
93
|
is_oauth=is_oauth,
|
|
94
|
+
expires_at=expires_at,
|
|
78
95
|
)
|
|
79
96
|
|
|
80
97
|
create_variable_json_body.additional_properties = d
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import datetime
|
|
1
2
|
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
3
|
|
|
3
4
|
from attrs import define as _attrs_define
|
|
4
5
|
from attrs import field as _attrs_field
|
|
6
|
+
from dateutil.parser import isoparse
|
|
5
7
|
|
|
6
8
|
from ..types import UNSET, Unset
|
|
7
9
|
|
|
@@ -28,6 +30,7 @@ class GetVariableResponse200:
|
|
|
28
30
|
refresh_error (Union[Unset, str]):
|
|
29
31
|
is_linked (Union[Unset, bool]):
|
|
30
32
|
is_refreshed (Union[Unset, bool]):
|
|
33
|
+
expires_at (Union[Unset, datetime.datetime]):
|
|
31
34
|
"""
|
|
32
35
|
|
|
33
36
|
workspace_id: str
|
|
@@ -42,6 +45,7 @@ class GetVariableResponse200:
|
|
|
42
45
|
refresh_error: Union[Unset, str] = UNSET
|
|
43
46
|
is_linked: Union[Unset, bool] = UNSET
|
|
44
47
|
is_refreshed: Union[Unset, bool] = UNSET
|
|
48
|
+
expires_at: Union[Unset, datetime.datetime] = UNSET
|
|
45
49
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
46
50
|
|
|
47
51
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -58,6 +62,9 @@ class GetVariableResponse200:
|
|
|
58
62
|
refresh_error = self.refresh_error
|
|
59
63
|
is_linked = self.is_linked
|
|
60
64
|
is_refreshed = self.is_refreshed
|
|
65
|
+
expires_at: Union[Unset, str] = UNSET
|
|
66
|
+
if not isinstance(self.expires_at, Unset):
|
|
67
|
+
expires_at = self.expires_at.isoformat()
|
|
61
68
|
|
|
62
69
|
field_dict: Dict[str, Any] = {}
|
|
63
70
|
field_dict.update(self.additional_properties)
|
|
@@ -85,6 +92,8 @@ class GetVariableResponse200:
|
|
|
85
92
|
field_dict["is_linked"] = is_linked
|
|
86
93
|
if is_refreshed is not UNSET:
|
|
87
94
|
field_dict["is_refreshed"] = is_refreshed
|
|
95
|
+
if expires_at is not UNSET:
|
|
96
|
+
field_dict["expires_at"] = expires_at
|
|
88
97
|
|
|
89
98
|
return field_dict
|
|
90
99
|
|
|
@@ -117,6 +126,13 @@ class GetVariableResponse200:
|
|
|
117
126
|
|
|
118
127
|
is_refreshed = d.pop("is_refreshed", UNSET)
|
|
119
128
|
|
|
129
|
+
_expires_at = d.pop("expires_at", UNSET)
|
|
130
|
+
expires_at: Union[Unset, datetime.datetime]
|
|
131
|
+
if isinstance(_expires_at, Unset):
|
|
132
|
+
expires_at = UNSET
|
|
133
|
+
else:
|
|
134
|
+
expires_at = isoparse(_expires_at)
|
|
135
|
+
|
|
120
136
|
get_variable_response_200 = cls(
|
|
121
137
|
workspace_id=workspace_id,
|
|
122
138
|
path=path,
|
|
@@ -130,6 +146,7 @@ class GetVariableResponse200:
|
|
|
130
146
|
refresh_error=refresh_error,
|
|
131
147
|
is_linked=is_linked,
|
|
132
148
|
is_refreshed=is_refreshed,
|
|
149
|
+
expires_at=expires_at,
|
|
133
150
|
)
|
|
134
151
|
|
|
135
152
|
get_variable_response_200.additional_properties = d
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import datetime
|
|
1
2
|
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
3
|
|
|
3
4
|
from attrs import define as _attrs_define
|
|
4
5
|
from attrs import field as _attrs_field
|
|
6
|
+
from dateutil.parser import isoparse
|
|
5
7
|
|
|
6
8
|
from ..types import UNSET, Unset
|
|
7
9
|
|
|
@@ -28,6 +30,7 @@ class ListVariableResponse200Item:
|
|
|
28
30
|
refresh_error (Union[Unset, str]):
|
|
29
31
|
is_linked (Union[Unset, bool]):
|
|
30
32
|
is_refreshed (Union[Unset, bool]):
|
|
33
|
+
expires_at (Union[Unset, datetime.datetime]):
|
|
31
34
|
"""
|
|
32
35
|
|
|
33
36
|
workspace_id: str
|
|
@@ -42,6 +45,7 @@ class ListVariableResponse200Item:
|
|
|
42
45
|
refresh_error: Union[Unset, str] = UNSET
|
|
43
46
|
is_linked: Union[Unset, bool] = UNSET
|
|
44
47
|
is_refreshed: Union[Unset, bool] = UNSET
|
|
48
|
+
expires_at: Union[Unset, datetime.datetime] = UNSET
|
|
45
49
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
46
50
|
|
|
47
51
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -58,6 +62,9 @@ class ListVariableResponse200Item:
|
|
|
58
62
|
refresh_error = self.refresh_error
|
|
59
63
|
is_linked = self.is_linked
|
|
60
64
|
is_refreshed = self.is_refreshed
|
|
65
|
+
expires_at: Union[Unset, str] = UNSET
|
|
66
|
+
if not isinstance(self.expires_at, Unset):
|
|
67
|
+
expires_at = self.expires_at.isoformat()
|
|
61
68
|
|
|
62
69
|
field_dict: Dict[str, Any] = {}
|
|
63
70
|
field_dict.update(self.additional_properties)
|
|
@@ -85,6 +92,8 @@ class ListVariableResponse200Item:
|
|
|
85
92
|
field_dict["is_linked"] = is_linked
|
|
86
93
|
if is_refreshed is not UNSET:
|
|
87
94
|
field_dict["is_refreshed"] = is_refreshed
|
|
95
|
+
if expires_at is not UNSET:
|
|
96
|
+
field_dict["expires_at"] = expires_at
|
|
88
97
|
|
|
89
98
|
return field_dict
|
|
90
99
|
|
|
@@ -117,6 +126,13 @@ class ListVariableResponse200Item:
|
|
|
117
126
|
|
|
118
127
|
is_refreshed = d.pop("is_refreshed", UNSET)
|
|
119
128
|
|
|
129
|
+
_expires_at = d.pop("expires_at", UNSET)
|
|
130
|
+
expires_at: Union[Unset, datetime.datetime]
|
|
131
|
+
if isinstance(_expires_at, Unset):
|
|
132
|
+
expires_at = UNSET
|
|
133
|
+
else:
|
|
134
|
+
expires_at = isoparse(_expires_at)
|
|
135
|
+
|
|
120
136
|
list_variable_response_200_item = cls(
|
|
121
137
|
workspace_id=workspace_id,
|
|
122
138
|
path=path,
|
|
@@ -130,6 +146,7 @@ class ListVariableResponse200Item:
|
|
|
130
146
|
refresh_error=refresh_error,
|
|
131
147
|
is_linked=is_linked,
|
|
132
148
|
is_refreshed=is_refreshed,
|
|
149
|
+
expires_at=expires_at,
|
|
133
150
|
)
|
|
134
151
|
|
|
135
152
|
list_variable_response_200_item.additional_properties = d
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import datetime
|
|
1
2
|
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
3
|
|
|
3
4
|
from attrs import define as _attrs_define
|
|
4
5
|
from attrs import field as _attrs_field
|
|
6
|
+
from dateutil.parser import isoparse
|
|
5
7
|
|
|
6
8
|
from ..types import UNSET, Unset
|
|
7
9
|
|
|
@@ -28,6 +30,7 @@ class ListableVariable:
|
|
|
28
30
|
refresh_error (Union[Unset, str]):
|
|
29
31
|
is_linked (Union[Unset, bool]):
|
|
30
32
|
is_refreshed (Union[Unset, bool]):
|
|
33
|
+
expires_at (Union[Unset, datetime.datetime]):
|
|
31
34
|
"""
|
|
32
35
|
|
|
33
36
|
workspace_id: str
|
|
@@ -42,6 +45,7 @@ class ListableVariable:
|
|
|
42
45
|
refresh_error: Union[Unset, str] = UNSET
|
|
43
46
|
is_linked: Union[Unset, bool] = UNSET
|
|
44
47
|
is_refreshed: Union[Unset, bool] = UNSET
|
|
48
|
+
expires_at: Union[Unset, datetime.datetime] = UNSET
|
|
45
49
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
46
50
|
|
|
47
51
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -58,6 +62,9 @@ class ListableVariable:
|
|
|
58
62
|
refresh_error = self.refresh_error
|
|
59
63
|
is_linked = self.is_linked
|
|
60
64
|
is_refreshed = self.is_refreshed
|
|
65
|
+
expires_at: Union[Unset, str] = UNSET
|
|
66
|
+
if not isinstance(self.expires_at, Unset):
|
|
67
|
+
expires_at = self.expires_at.isoformat()
|
|
61
68
|
|
|
62
69
|
field_dict: Dict[str, Any] = {}
|
|
63
70
|
field_dict.update(self.additional_properties)
|
|
@@ -85,6 +92,8 @@ class ListableVariable:
|
|
|
85
92
|
field_dict["is_linked"] = is_linked
|
|
86
93
|
if is_refreshed is not UNSET:
|
|
87
94
|
field_dict["is_refreshed"] = is_refreshed
|
|
95
|
+
if expires_at is not UNSET:
|
|
96
|
+
field_dict["expires_at"] = expires_at
|
|
88
97
|
|
|
89
98
|
return field_dict
|
|
90
99
|
|
|
@@ -117,6 +126,13 @@ class ListableVariable:
|
|
|
117
126
|
|
|
118
127
|
is_refreshed = d.pop("is_refreshed", UNSET)
|
|
119
128
|
|
|
129
|
+
_expires_at = d.pop("expires_at", UNSET)
|
|
130
|
+
expires_at: Union[Unset, datetime.datetime]
|
|
131
|
+
if isinstance(_expires_at, Unset):
|
|
132
|
+
expires_at = UNSET
|
|
133
|
+
else:
|
|
134
|
+
expires_at = isoparse(_expires_at)
|
|
135
|
+
|
|
120
136
|
listable_variable = cls(
|
|
121
137
|
workspace_id=workspace_id,
|
|
122
138
|
path=path,
|
|
@@ -130,6 +146,7 @@ class ListableVariable:
|
|
|
130
146
|
refresh_error=refresh_error,
|
|
131
147
|
is_linked=is_linked,
|
|
132
148
|
is_refreshed=is_refreshed,
|
|
149
|
+
expires_at=expires_at,
|
|
133
150
|
)
|
|
134
151
|
|
|
135
152
|
listable_variable.additional_properties = d
|
|
@@ -308,7 +308,7 @@ windmill_api/api/variable/exists_variable.py,sha256=koJWlT143DidVCxXevywbxgZXN21
|
|
|
308
308
|
windmill_api/api/variable/get_variable.py,sha256=aBCi9OizCUXvzuf7CV7_iokc5w5x18yFKK3dltDE5Jc,5619
|
|
309
309
|
windmill_api/api/variable/get_variable_value.py,sha256=6FENTuxWO-31goSVBGoeToWcTHfmKNcbQ3oa0SxLRpc,3776
|
|
310
310
|
windmill_api/api/variable/list_contextual_variables.py,sha256=E7Q82QQ2Sji3--u7E69w7taTek0nUzZo07sJT2A3Om0,4319
|
|
311
|
-
windmill_api/api/variable/list_variable.py,sha256=
|
|
311
|
+
windmill_api/api/variable/list_variable.py,sha256=Z2GhT3JaIfyukGqxbvRF_-c0Gjq64hlsWdxP3ffJHSo,5919
|
|
312
312
|
windmill_api/api/variable/update_variable.py,sha256=Ejny8KmC6HrbuZ4OHxOtOBLj3RD9NJlEKPOyX7sS_zE,3435
|
|
313
313
|
windmill_api/api/worker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
314
314
|
windmill_api/api/worker/exists_worker_with_tag.py,sha256=sh0LvJMp8V_dYG5b4Ok26j-_yl2MlAiHOQH1YkLhqfs,3563
|
|
@@ -562,8 +562,8 @@ windmill_api/models/create_script_json_body_schema.py,sha256=fLtVF02xA72yAHEsO-w
|
|
|
562
562
|
windmill_api/models/create_token_impersonate_json_body.py,sha256=_L6Kx_6KEO9tgT3Xa0A0fJ_3hKR9HywsUFrkt4sziVY,2597
|
|
563
563
|
windmill_api/models/create_token_json_body.py,sha256=V0UNjbYl17wSnOQz8fofZSQKH1PZK_rLYXO0p5ag7Q4,2612
|
|
564
564
|
windmill_api/models/create_user_globally_json_body.py,sha256=MrDk6Voi0gHLvhzS48pwixj7wRZ05bu1Bce5J-sXsVc,2427
|
|
565
|
-
windmill_api/models/create_variable.py,sha256=
|
|
566
|
-
windmill_api/models/create_variable_json_body.py,sha256
|
|
565
|
+
windmill_api/models/create_variable.py,sha256=IJcYEB53wQ8avSx0W_ZSYi1BZ9aZ1bserdFsrSQHkA8,3227
|
|
566
|
+
windmill_api/models/create_variable_json_body.py,sha256=5qITUtE7-0T8tILyCMkpdzWUJmvnJxvqvyCSN5k-ytI,3273
|
|
567
567
|
windmill_api/models/create_workspace.py,sha256=WO8QwIF11s_Lxgode8eC59QmBsPiepnfes6vIMcJihs,1867
|
|
568
568
|
windmill_api/models/create_workspace_json_body.py,sha256=EH0XdQbDncCaLa7qWY5peYzj3cZeUGSwmwyLa_09IDg,1913
|
|
569
569
|
windmill_api/models/decline_invite_json_body.py,sha256=APY6WrYS2XvpWr0TefDZUSgNN-1gICXnmDHmit9MI88,1553
|
|
@@ -1573,7 +1573,7 @@ windmill_api/models/get_top_hub_scripts_response_200.py,sha256=kqbTv8x-kJH3_FmTk
|
|
|
1573
1573
|
windmill_api/models/get_top_hub_scripts_response_200_asks_item.py,sha256=o9hlAPS045SoJ_iObndt-2SqYhZpiJ5bbhe3nViCF2E,2669
|
|
1574
1574
|
windmill_api/models/get_tutorial_progress_response_200.py,sha256=b4BtXIK5s1-7alHtT8j67cPqg39qh_u9mkK0LXE2YhA,1652
|
|
1575
1575
|
windmill_api/models/get_user_response_200.py,sha256=1EIw1zAOf66Max-mO0gq6YE9QyN83U2paS5iT3GQT9k,3646
|
|
1576
|
-
windmill_api/models/get_variable_response_200.py,sha256=
|
|
1576
|
+
windmill_api/models/get_variable_response_200.py,sha256=3WK2IMm6-Jr7tvy-jfOFrt1eMIUXVQyLzTcogJZQZlw,5430
|
|
1577
1577
|
windmill_api/models/get_variable_response_200_extra_perms.py,sha256=NkIQGAWfX954BcR6UBrYbATENEmbWT7-8639NOeTtdE,1330
|
|
1578
1578
|
windmill_api/models/get_workspace_default_app_response_200.py,sha256=FKINlHD6u4qyUDJgJjDuDIyIsWAuvRdPKYQA9s_Y00g,1758
|
|
1579
1579
|
windmill_api/models/get_workspace_encryption_key_response_200.py,sha256=Fvs0c2FiaRvYp_qRzJ4xj-gQ-2mF58Ae5dOol6Onuow,1544
|
|
@@ -2102,7 +2102,7 @@ windmill_api/models/list_users_as_super_admin_response_200_item.py,sha256=NLCj7H
|
|
|
2102
2102
|
windmill_api/models/list_users_as_super_admin_response_200_item_login_type.py,sha256=GqFojYh0I3SpWAhKpt5iup-ck8kMDmSapmBLjZ0XX8U,198
|
|
2103
2103
|
windmill_api/models/list_users_response_200_item.py,sha256=J7_wItdtNe1D2WiA4XrcnSC4RC1vNy2i8Oy1vlWPt1U,3679
|
|
2104
2104
|
windmill_api/models/list_users_usage_response_200_item.py,sha256=0ZKMktaSC_LTPolx1JXEEwINvWmf03Tl4OKSakKf6JU,1910
|
|
2105
|
-
windmill_api/models/list_variable_response_200_item.py,sha256=
|
|
2105
|
+
windmill_api/models/list_variable_response_200_item.py,sha256=nrPTcHabE71NPFFws-4Zl-7I8u1JOZacAabbiVdLjfk,5495
|
|
2106
2106
|
windmill_api/models/list_variable_response_200_item_extra_perms.py,sha256=Tx5hXdRHxg4SBN__jLzKf5cT09WbuLSmuOgDDkaKBlU,1358
|
|
2107
2107
|
windmill_api/models/list_worker_groups_response_200_item.py,sha256=w_PZKDxTlz3OBBTitMFwj0N040mfkd7HFsEuvhThTgQ,1691
|
|
2108
2108
|
windmill_api/models/list_workers_response_200_item.py,sha256=nYsA5xwHzxT0q3J_uuEVfgRBietpkc844-tCTVXhZSI,5888
|
|
@@ -2116,7 +2116,7 @@ windmill_api/models/listable_raw_app.py,sha256=WeCNeHik5L-tuUi0KApx_jB08ghhj4HNS
|
|
|
2116
2116
|
windmill_api/models/listable_raw_app_extra_perms.py,sha256=R20ByQCUzEFOqIOdpUZajIIHDAUdzo1B1-u1C61PQFA,1287
|
|
2117
2117
|
windmill_api/models/listable_resource.py,sha256=PfufZayEzxR9I47tP5seJjuT4MO4qjAEqb4DZltIfXs,5884
|
|
2118
2118
|
windmill_api/models/listable_resource_extra_perms.py,sha256=zDYi-7bciAY86ws1RPe6YCbzOuVx9nExv9XFvQULKec,1294
|
|
2119
|
-
windmill_api/models/listable_variable.py,sha256=
|
|
2119
|
+
windmill_api/models/listable_variable.py,sha256=LL66C0SAYMH5o0DiYCtomPyk3-R947O8eYWQ_9pvU4g,5348
|
|
2120
2120
|
windmill_api/models/listable_variable_extra_perms.py,sha256=viMFDewwc-Q5iYf-nyweQbxiAxxNQoUpfNkYXXSBijI,1294
|
|
2121
2121
|
windmill_api/models/load_file_metadata_response_200.py,sha256=NggKsh-6uMj07SWnhiR6Qk57PCvOOy6T3CM7zkLfh4w,3550
|
|
2122
2122
|
windmill_api/models/load_file_preview_response_200.py,sha256=cvqfLlkgTWLHCexILwu3DA-0QcfYTCyW8NMjlHtx8Gs,2307
|
|
@@ -2544,7 +2544,7 @@ windmill_api/models/workspace_git_sync_settings_repositories_item_exclude_types_
|
|
|
2544
2544
|
windmill_api/models/workspace_invite.py,sha256=HnAJWGv5LwxWkz1T3fhgHKIccO7RFC1lixwUUXG6CXs,2037
|
|
2545
2545
|
windmill_api/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
|
|
2546
2546
|
windmill_api/types.py,sha256=GoYub3t4hQP2Yn5tsvShsBfIY3vHUmblU0MXszDx_V0,968
|
|
2547
|
-
windmill_api-1.
|
|
2548
|
-
windmill_api-1.
|
|
2549
|
-
windmill_api-1.
|
|
2550
|
-
windmill_api-1.
|
|
2547
|
+
windmill_api-1.372.0.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
|
|
2548
|
+
windmill_api-1.372.0.dist-info/METADATA,sha256=BLOSE9uRO6VYIVLvjbP9f7MXkvNwqaBsICHX4snP8tw,5023
|
|
2549
|
+
windmill_api-1.372.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
|
|
2550
|
+
windmill_api-1.372.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|