windmill-api 1.408.0__py3-none-any.whl → 1.409.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/flow/get_triggers_count_of_flow.py +166 -0
- windmill_api/api/flow/list_tokens_of_flow.py +171 -0
- windmill_api/api/script/get_triggers_count_of_script.py +166 -0
- windmill_api/api/script/list_tokens_of_script.py +171 -0
- windmill_api/models/create_token_impersonate_json_body.py +9 -0
- windmill_api/models/create_token_json_body.py +9 -0
- windmill_api/models/get_triggers_count_of_flow_response_200.py +108 -0
- windmill_api/models/get_triggers_count_of_flow_response_200_primary_schedule.py +58 -0
- windmill_api/models/get_triggers_count_of_script_response_200.py +108 -0
- windmill_api/models/get_triggers_count_of_script_response_200_primary_schedule.py +58 -0
- windmill_api/models/list_o_auth_logins_response_200.py +20 -5
- windmill_api/models/list_o_auth_logins_response_200_oauth_item.py +68 -0
- windmill_api/models/list_tokens_of_flow_response_200_item.py +121 -0
- windmill_api/models/list_tokens_of_script_response_200_item.py +121 -0
- windmill_api/models/list_tokens_response_200_item.py +9 -0
- windmill_api/models/new_token.py +9 -0
- windmill_api/models/new_token_impersonate.py +9 -0
- windmill_api/models/triggers_count.py +104 -0
- windmill_api/models/triggers_count_primary_schedule.py +58 -0
- windmill_api/models/truncated_token.py +9 -0
- {windmill_api-1.408.0.dist-info → windmill_api-1.409.0.dist-info}/METADATA +1 -1
- {windmill_api-1.408.0.dist-info → windmill_api-1.409.0.dist-info}/RECORD +24 -11
- {windmill_api-1.408.0.dist-info → windmill_api-1.409.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.408.0.dist-info → windmill_api-1.409.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
from typing import Any, Dict, List, Type, TypeVar, Union, cast
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
from dateutil.parser import isoparse
|
|
7
|
+
|
|
8
|
+
from ..types import UNSET, Unset
|
|
9
|
+
|
|
10
|
+
T = TypeVar("T", bound="ListTokensOfScriptResponse200Item")
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@_attrs_define
|
|
14
|
+
class ListTokensOfScriptResponse200Item:
|
|
15
|
+
"""
|
|
16
|
+
Attributes:
|
|
17
|
+
token_prefix (str):
|
|
18
|
+
created_at (datetime.datetime):
|
|
19
|
+
last_used_at (datetime.datetime):
|
|
20
|
+
label (Union[Unset, str]):
|
|
21
|
+
expiration (Union[Unset, datetime.datetime]):
|
|
22
|
+
scopes (Union[Unset, List[str]]):
|
|
23
|
+
email (Union[Unset, str]):
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
token_prefix: str
|
|
27
|
+
created_at: datetime.datetime
|
|
28
|
+
last_used_at: datetime.datetime
|
|
29
|
+
label: Union[Unset, str] = UNSET
|
|
30
|
+
expiration: Union[Unset, datetime.datetime] = UNSET
|
|
31
|
+
scopes: Union[Unset, List[str]] = UNSET
|
|
32
|
+
email: Union[Unset, str] = UNSET
|
|
33
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
34
|
+
|
|
35
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
36
|
+
token_prefix = self.token_prefix
|
|
37
|
+
created_at = self.created_at.isoformat()
|
|
38
|
+
|
|
39
|
+
last_used_at = self.last_used_at.isoformat()
|
|
40
|
+
|
|
41
|
+
label = self.label
|
|
42
|
+
expiration: Union[Unset, str] = UNSET
|
|
43
|
+
if not isinstance(self.expiration, Unset):
|
|
44
|
+
expiration = self.expiration.isoformat()
|
|
45
|
+
|
|
46
|
+
scopes: Union[Unset, List[str]] = UNSET
|
|
47
|
+
if not isinstance(self.scopes, Unset):
|
|
48
|
+
scopes = self.scopes
|
|
49
|
+
|
|
50
|
+
email = self.email
|
|
51
|
+
|
|
52
|
+
field_dict: Dict[str, Any] = {}
|
|
53
|
+
field_dict.update(self.additional_properties)
|
|
54
|
+
field_dict.update(
|
|
55
|
+
{
|
|
56
|
+
"token_prefix": token_prefix,
|
|
57
|
+
"created_at": created_at,
|
|
58
|
+
"last_used_at": last_used_at,
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
if label is not UNSET:
|
|
62
|
+
field_dict["label"] = label
|
|
63
|
+
if expiration is not UNSET:
|
|
64
|
+
field_dict["expiration"] = expiration
|
|
65
|
+
if scopes is not UNSET:
|
|
66
|
+
field_dict["scopes"] = scopes
|
|
67
|
+
if email is not UNSET:
|
|
68
|
+
field_dict["email"] = email
|
|
69
|
+
|
|
70
|
+
return field_dict
|
|
71
|
+
|
|
72
|
+
@classmethod
|
|
73
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
74
|
+
d = src_dict.copy()
|
|
75
|
+
token_prefix = d.pop("token_prefix")
|
|
76
|
+
|
|
77
|
+
created_at = isoparse(d.pop("created_at"))
|
|
78
|
+
|
|
79
|
+
last_used_at = isoparse(d.pop("last_used_at"))
|
|
80
|
+
|
|
81
|
+
label = d.pop("label", UNSET)
|
|
82
|
+
|
|
83
|
+
_expiration = d.pop("expiration", UNSET)
|
|
84
|
+
expiration: Union[Unset, datetime.datetime]
|
|
85
|
+
if isinstance(_expiration, Unset):
|
|
86
|
+
expiration = UNSET
|
|
87
|
+
else:
|
|
88
|
+
expiration = isoparse(_expiration)
|
|
89
|
+
|
|
90
|
+
scopes = cast(List[str], d.pop("scopes", UNSET))
|
|
91
|
+
|
|
92
|
+
email = d.pop("email", UNSET)
|
|
93
|
+
|
|
94
|
+
list_tokens_of_script_response_200_item = cls(
|
|
95
|
+
token_prefix=token_prefix,
|
|
96
|
+
created_at=created_at,
|
|
97
|
+
last_used_at=last_used_at,
|
|
98
|
+
label=label,
|
|
99
|
+
expiration=expiration,
|
|
100
|
+
scopes=scopes,
|
|
101
|
+
email=email,
|
|
102
|
+
)
|
|
103
|
+
|
|
104
|
+
list_tokens_of_script_response_200_item.additional_properties = d
|
|
105
|
+
return list_tokens_of_script_response_200_item
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def additional_keys(self) -> List[str]:
|
|
109
|
+
return list(self.additional_properties.keys())
|
|
110
|
+
|
|
111
|
+
def __getitem__(self, key: str) -> Any:
|
|
112
|
+
return self.additional_properties[key]
|
|
113
|
+
|
|
114
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
115
|
+
self.additional_properties[key] = value
|
|
116
|
+
|
|
117
|
+
def __delitem__(self, key: str) -> None:
|
|
118
|
+
del self.additional_properties[key]
|
|
119
|
+
|
|
120
|
+
def __contains__(self, key: str) -> bool:
|
|
121
|
+
return key in self.additional_properties
|
|
@@ -20,6 +20,7 @@ class ListTokensResponse200Item:
|
|
|
20
20
|
label (Union[Unset, str]):
|
|
21
21
|
expiration (Union[Unset, datetime.datetime]):
|
|
22
22
|
scopes (Union[Unset, List[str]]):
|
|
23
|
+
email (Union[Unset, str]):
|
|
23
24
|
"""
|
|
24
25
|
|
|
25
26
|
token_prefix: str
|
|
@@ -28,6 +29,7 @@ class ListTokensResponse200Item:
|
|
|
28
29
|
label: Union[Unset, str] = UNSET
|
|
29
30
|
expiration: Union[Unset, datetime.datetime] = UNSET
|
|
30
31
|
scopes: Union[Unset, List[str]] = UNSET
|
|
32
|
+
email: Union[Unset, str] = UNSET
|
|
31
33
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
32
34
|
|
|
33
35
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -45,6 +47,8 @@ class ListTokensResponse200Item:
|
|
|
45
47
|
if not isinstance(self.scopes, Unset):
|
|
46
48
|
scopes = self.scopes
|
|
47
49
|
|
|
50
|
+
email = self.email
|
|
51
|
+
|
|
48
52
|
field_dict: Dict[str, Any] = {}
|
|
49
53
|
field_dict.update(self.additional_properties)
|
|
50
54
|
field_dict.update(
|
|
@@ -60,6 +64,8 @@ class ListTokensResponse200Item:
|
|
|
60
64
|
field_dict["expiration"] = expiration
|
|
61
65
|
if scopes is not UNSET:
|
|
62
66
|
field_dict["scopes"] = scopes
|
|
67
|
+
if email is not UNSET:
|
|
68
|
+
field_dict["email"] = email
|
|
63
69
|
|
|
64
70
|
return field_dict
|
|
65
71
|
|
|
@@ -83,6 +89,8 @@ class ListTokensResponse200Item:
|
|
|
83
89
|
|
|
84
90
|
scopes = cast(List[str], d.pop("scopes", UNSET))
|
|
85
91
|
|
|
92
|
+
email = d.pop("email", UNSET)
|
|
93
|
+
|
|
86
94
|
list_tokens_response_200_item = cls(
|
|
87
95
|
token_prefix=token_prefix,
|
|
88
96
|
created_at=created_at,
|
|
@@ -90,6 +98,7 @@ class ListTokensResponse200Item:
|
|
|
90
98
|
label=label,
|
|
91
99
|
expiration=expiration,
|
|
92
100
|
scopes=scopes,
|
|
101
|
+
email=email,
|
|
93
102
|
)
|
|
94
103
|
|
|
95
104
|
list_tokens_response_200_item.additional_properties = d
|
windmill_api/models/new_token.py
CHANGED
|
@@ -17,11 +17,13 @@ class NewToken:
|
|
|
17
17
|
label (Union[Unset, str]):
|
|
18
18
|
expiration (Union[Unset, datetime.datetime]):
|
|
19
19
|
scopes (Union[Unset, List[str]]):
|
|
20
|
+
workspace_id (Union[Unset, str]):
|
|
20
21
|
"""
|
|
21
22
|
|
|
22
23
|
label: Union[Unset, str] = UNSET
|
|
23
24
|
expiration: Union[Unset, datetime.datetime] = UNSET
|
|
24
25
|
scopes: Union[Unset, List[str]] = UNSET
|
|
26
|
+
workspace_id: Union[Unset, str] = UNSET
|
|
25
27
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
26
28
|
|
|
27
29
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -34,6 +36,8 @@ class NewToken:
|
|
|
34
36
|
if not isinstance(self.scopes, Unset):
|
|
35
37
|
scopes = self.scopes
|
|
36
38
|
|
|
39
|
+
workspace_id = self.workspace_id
|
|
40
|
+
|
|
37
41
|
field_dict: Dict[str, Any] = {}
|
|
38
42
|
field_dict.update(self.additional_properties)
|
|
39
43
|
field_dict.update({})
|
|
@@ -43,6 +47,8 @@ class NewToken:
|
|
|
43
47
|
field_dict["expiration"] = expiration
|
|
44
48
|
if scopes is not UNSET:
|
|
45
49
|
field_dict["scopes"] = scopes
|
|
50
|
+
if workspace_id is not UNSET:
|
|
51
|
+
field_dict["workspace_id"] = workspace_id
|
|
46
52
|
|
|
47
53
|
return field_dict
|
|
48
54
|
|
|
@@ -60,10 +66,13 @@ class NewToken:
|
|
|
60
66
|
|
|
61
67
|
scopes = cast(List[str], d.pop("scopes", UNSET))
|
|
62
68
|
|
|
69
|
+
workspace_id = d.pop("workspace_id", UNSET)
|
|
70
|
+
|
|
63
71
|
new_token = cls(
|
|
64
72
|
label=label,
|
|
65
73
|
expiration=expiration,
|
|
66
74
|
scopes=scopes,
|
|
75
|
+
workspace_id=workspace_id,
|
|
67
76
|
)
|
|
68
77
|
|
|
69
78
|
new_token.additional_properties = d
|
|
@@ -17,11 +17,13 @@ class NewTokenImpersonate:
|
|
|
17
17
|
impersonate_email (str):
|
|
18
18
|
label (Union[Unset, str]):
|
|
19
19
|
expiration (Union[Unset, datetime.datetime]):
|
|
20
|
+
workspace_id (Union[Unset, str]):
|
|
20
21
|
"""
|
|
21
22
|
|
|
22
23
|
impersonate_email: str
|
|
23
24
|
label: Union[Unset, str] = UNSET
|
|
24
25
|
expiration: Union[Unset, datetime.datetime] = UNSET
|
|
26
|
+
workspace_id: Union[Unset, str] = UNSET
|
|
25
27
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
26
28
|
|
|
27
29
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -31,6 +33,8 @@ class NewTokenImpersonate:
|
|
|
31
33
|
if not isinstance(self.expiration, Unset):
|
|
32
34
|
expiration = self.expiration.isoformat()
|
|
33
35
|
|
|
36
|
+
workspace_id = self.workspace_id
|
|
37
|
+
|
|
34
38
|
field_dict: Dict[str, Any] = {}
|
|
35
39
|
field_dict.update(self.additional_properties)
|
|
36
40
|
field_dict.update(
|
|
@@ -42,6 +46,8 @@ class NewTokenImpersonate:
|
|
|
42
46
|
field_dict["label"] = label
|
|
43
47
|
if expiration is not UNSET:
|
|
44
48
|
field_dict["expiration"] = expiration
|
|
49
|
+
if workspace_id is not UNSET:
|
|
50
|
+
field_dict["workspace_id"] = workspace_id
|
|
45
51
|
|
|
46
52
|
return field_dict
|
|
47
53
|
|
|
@@ -59,10 +65,13 @@ class NewTokenImpersonate:
|
|
|
59
65
|
else:
|
|
60
66
|
expiration = isoparse(_expiration)
|
|
61
67
|
|
|
68
|
+
workspace_id = d.pop("workspace_id", UNSET)
|
|
69
|
+
|
|
62
70
|
new_token_impersonate = cls(
|
|
63
71
|
impersonate_email=impersonate_email,
|
|
64
72
|
label=label,
|
|
65
73
|
expiration=expiration,
|
|
74
|
+
workspace_id=workspace_id,
|
|
66
75
|
)
|
|
67
76
|
|
|
68
77
|
new_token_impersonate.additional_properties = d
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
from ..types import UNSET, Unset
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from ..models.triggers_count_primary_schedule import TriggersCountPrimarySchedule
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
T = TypeVar("T", bound="TriggersCount")
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@_attrs_define
|
|
16
|
+
class TriggersCount:
|
|
17
|
+
"""
|
|
18
|
+
Attributes:
|
|
19
|
+
primary_schedule (Union[Unset, TriggersCountPrimarySchedule]):
|
|
20
|
+
schedule_count (Union[Unset, float]):
|
|
21
|
+
http_routes_count (Union[Unset, float]):
|
|
22
|
+
webhook_count (Union[Unset, float]):
|
|
23
|
+
email_count (Union[Unset, float]):
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
primary_schedule: Union[Unset, "TriggersCountPrimarySchedule"] = UNSET
|
|
27
|
+
schedule_count: Union[Unset, float] = UNSET
|
|
28
|
+
http_routes_count: Union[Unset, float] = UNSET
|
|
29
|
+
webhook_count: Union[Unset, float] = UNSET
|
|
30
|
+
email_count: Union[Unset, float] = UNSET
|
|
31
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
32
|
+
|
|
33
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
34
|
+
primary_schedule: Union[Unset, Dict[str, Any]] = UNSET
|
|
35
|
+
if not isinstance(self.primary_schedule, Unset):
|
|
36
|
+
primary_schedule = self.primary_schedule.to_dict()
|
|
37
|
+
|
|
38
|
+
schedule_count = self.schedule_count
|
|
39
|
+
http_routes_count = self.http_routes_count
|
|
40
|
+
webhook_count = self.webhook_count
|
|
41
|
+
email_count = self.email_count
|
|
42
|
+
|
|
43
|
+
field_dict: Dict[str, Any] = {}
|
|
44
|
+
field_dict.update(self.additional_properties)
|
|
45
|
+
field_dict.update({})
|
|
46
|
+
if primary_schedule is not UNSET:
|
|
47
|
+
field_dict["primary_schedule"] = primary_schedule
|
|
48
|
+
if schedule_count is not UNSET:
|
|
49
|
+
field_dict["schedule_count"] = schedule_count
|
|
50
|
+
if http_routes_count is not UNSET:
|
|
51
|
+
field_dict["http_routes_count"] = http_routes_count
|
|
52
|
+
if webhook_count is not UNSET:
|
|
53
|
+
field_dict["webhook_count"] = webhook_count
|
|
54
|
+
if email_count is not UNSET:
|
|
55
|
+
field_dict["email_count"] = email_count
|
|
56
|
+
|
|
57
|
+
return field_dict
|
|
58
|
+
|
|
59
|
+
@classmethod
|
|
60
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
61
|
+
from ..models.triggers_count_primary_schedule import TriggersCountPrimarySchedule
|
|
62
|
+
|
|
63
|
+
d = src_dict.copy()
|
|
64
|
+
_primary_schedule = d.pop("primary_schedule", UNSET)
|
|
65
|
+
primary_schedule: Union[Unset, TriggersCountPrimarySchedule]
|
|
66
|
+
if isinstance(_primary_schedule, Unset):
|
|
67
|
+
primary_schedule = UNSET
|
|
68
|
+
else:
|
|
69
|
+
primary_schedule = TriggersCountPrimarySchedule.from_dict(_primary_schedule)
|
|
70
|
+
|
|
71
|
+
schedule_count = d.pop("schedule_count", UNSET)
|
|
72
|
+
|
|
73
|
+
http_routes_count = d.pop("http_routes_count", UNSET)
|
|
74
|
+
|
|
75
|
+
webhook_count = d.pop("webhook_count", UNSET)
|
|
76
|
+
|
|
77
|
+
email_count = d.pop("email_count", UNSET)
|
|
78
|
+
|
|
79
|
+
triggers_count = cls(
|
|
80
|
+
primary_schedule=primary_schedule,
|
|
81
|
+
schedule_count=schedule_count,
|
|
82
|
+
http_routes_count=http_routes_count,
|
|
83
|
+
webhook_count=webhook_count,
|
|
84
|
+
email_count=email_count,
|
|
85
|
+
)
|
|
86
|
+
|
|
87
|
+
triggers_count.additional_properties = d
|
|
88
|
+
return triggers_count
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
def additional_keys(self) -> List[str]:
|
|
92
|
+
return list(self.additional_properties.keys())
|
|
93
|
+
|
|
94
|
+
def __getitem__(self, key: str) -> Any:
|
|
95
|
+
return self.additional_properties[key]
|
|
96
|
+
|
|
97
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
98
|
+
self.additional_properties[key] = value
|
|
99
|
+
|
|
100
|
+
def __delitem__(self, key: str) -> None:
|
|
101
|
+
del self.additional_properties[key]
|
|
102
|
+
|
|
103
|
+
def __contains__(self, key: str) -> bool:
|
|
104
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Type, TypeVar, Union
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
from ..types import UNSET, Unset
|
|
7
|
+
|
|
8
|
+
T = TypeVar("T", bound="TriggersCountPrimarySchedule")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class TriggersCountPrimarySchedule:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
schedule (Union[Unset, str]):
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
schedule: Union[Unset, str] = UNSET
|
|
19
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
20
|
+
|
|
21
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
22
|
+
schedule = self.schedule
|
|
23
|
+
|
|
24
|
+
field_dict: Dict[str, Any] = {}
|
|
25
|
+
field_dict.update(self.additional_properties)
|
|
26
|
+
field_dict.update({})
|
|
27
|
+
if schedule is not UNSET:
|
|
28
|
+
field_dict["schedule"] = schedule
|
|
29
|
+
|
|
30
|
+
return field_dict
|
|
31
|
+
|
|
32
|
+
@classmethod
|
|
33
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
34
|
+
d = src_dict.copy()
|
|
35
|
+
schedule = d.pop("schedule", UNSET)
|
|
36
|
+
|
|
37
|
+
triggers_count_primary_schedule = cls(
|
|
38
|
+
schedule=schedule,
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
triggers_count_primary_schedule.additional_properties = d
|
|
42
|
+
return triggers_count_primary_schedule
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def additional_keys(self) -> List[str]:
|
|
46
|
+
return list(self.additional_properties.keys())
|
|
47
|
+
|
|
48
|
+
def __getitem__(self, key: str) -> Any:
|
|
49
|
+
return self.additional_properties[key]
|
|
50
|
+
|
|
51
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
52
|
+
self.additional_properties[key] = value
|
|
53
|
+
|
|
54
|
+
def __delitem__(self, key: str) -> None:
|
|
55
|
+
del self.additional_properties[key]
|
|
56
|
+
|
|
57
|
+
def __contains__(self, key: str) -> bool:
|
|
58
|
+
return key in self.additional_properties
|
|
@@ -20,6 +20,7 @@ class TruncatedToken:
|
|
|
20
20
|
label (Union[Unset, str]):
|
|
21
21
|
expiration (Union[Unset, datetime.datetime]):
|
|
22
22
|
scopes (Union[Unset, List[str]]):
|
|
23
|
+
email (Union[Unset, str]):
|
|
23
24
|
"""
|
|
24
25
|
|
|
25
26
|
token_prefix: str
|
|
@@ -28,6 +29,7 @@ class TruncatedToken:
|
|
|
28
29
|
label: Union[Unset, str] = UNSET
|
|
29
30
|
expiration: Union[Unset, datetime.datetime] = UNSET
|
|
30
31
|
scopes: Union[Unset, List[str]] = UNSET
|
|
32
|
+
email: Union[Unset, str] = UNSET
|
|
31
33
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
32
34
|
|
|
33
35
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -45,6 +47,8 @@ class TruncatedToken:
|
|
|
45
47
|
if not isinstance(self.scopes, Unset):
|
|
46
48
|
scopes = self.scopes
|
|
47
49
|
|
|
50
|
+
email = self.email
|
|
51
|
+
|
|
48
52
|
field_dict: Dict[str, Any] = {}
|
|
49
53
|
field_dict.update(self.additional_properties)
|
|
50
54
|
field_dict.update(
|
|
@@ -60,6 +64,8 @@ class TruncatedToken:
|
|
|
60
64
|
field_dict["expiration"] = expiration
|
|
61
65
|
if scopes is not UNSET:
|
|
62
66
|
field_dict["scopes"] = scopes
|
|
67
|
+
if email is not UNSET:
|
|
68
|
+
field_dict["email"] = email
|
|
63
69
|
|
|
64
70
|
return field_dict
|
|
65
71
|
|
|
@@ -83,6 +89,8 @@ class TruncatedToken:
|
|
|
83
89
|
|
|
84
90
|
scopes = cast(List[str], d.pop("scopes", UNSET))
|
|
85
91
|
|
|
92
|
+
email = d.pop("email", UNSET)
|
|
93
|
+
|
|
86
94
|
truncated_token = cls(
|
|
87
95
|
token_prefix=token_prefix,
|
|
88
96
|
created_at=created_at,
|
|
@@ -90,6 +98,7 @@ class TruncatedToken:
|
|
|
90
98
|
label=label,
|
|
91
99
|
expiration=expiration,
|
|
92
100
|
scopes=scopes,
|
|
101
|
+
email=email,
|
|
93
102
|
)
|
|
94
103
|
|
|
95
104
|
truncated_token.additional_properties = d
|
|
@@ -52,10 +52,12 @@ windmill_api/api/flow/get_flow_by_path_with_draft.py,sha256=LmkuXkN7B-HNdo_iq21z
|
|
|
52
52
|
windmill_api/api/flow/get_flow_history.py,sha256=OT_yKnEKMKssKuzqWdKRTKtLkAON0pzzhAP7g9w3cJw,4453
|
|
53
53
|
windmill_api/api/flow/get_flow_version.py,sha256=Wd3gQWT-R77GiB__eEBJ1ou_31n87DP0qkc0zecysV4,4436
|
|
54
54
|
windmill_api/api/flow/get_hub_flow_by_id.py,sha256=VJxEVdnGNsWt0EEnfD8iDgFV9ztrP5mNL9dSCY8UYD0,3696
|
|
55
|
+
windmill_api/api/flow/get_triggers_count_of_flow.py,sha256=mXNh0thG3YcGvg4cE0CrkGtMCM86VAfwnkVhYSIaMu8,4250
|
|
55
56
|
windmill_api/api/flow/list_flow_paths.py,sha256=8-T37YwR-Cr_umc1XV5flxzspwPfn4kw9ogfGcBxrhc,2296
|
|
56
57
|
windmill_api/api/flow/list_flows.py,sha256=PkKM37wt-H_5cuG-Pmw4Zw7V6zm_21bJCGidynrap5w,10511
|
|
57
58
|
windmill_api/api/flow/list_hub_flows.py,sha256=AYwa6mrD7J-sY_Vv3J_4TtwwDLpv877b-9yDe_gNUbE,3371
|
|
58
59
|
windmill_api/api/flow/list_search_flow.py,sha256=00dYOBqzMjG2XaJ5bEEJ5imLqoHGjHTJdbkzaeQHs_s,4178
|
|
60
|
+
windmill_api/api/flow/list_tokens_of_flow.py,sha256=E_ftkDy-rcSiGNCplfkVGicZ-OCkn6p7bH4A2UhJXsw,4490
|
|
59
61
|
windmill_api/api/flow/toggle_workspace_error_handler_for_flow.py,sha256=oQhhn_W8I4UbD8RhNIC8LuluUefbTvRBVil5KB-DBnI,3115
|
|
60
62
|
windmill_api/api/flow/update_flow.py,sha256=FonzhaGNzi5KtKiaHc4nZm92VyPEH6hqtRdHcnoEL6k,2817
|
|
61
63
|
windmill_api/api/flow/update_flow_history.py,sha256=kf8XkjEEWieu83ApOYo16Cb1XkIwJWFVlGU4WFDLFsc,3094
|
|
@@ -248,9 +250,11 @@ windmill_api/api/script/get_script_by_path_with_draft.py,sha256=UplDhcwAc0IlgY1i
|
|
|
248
250
|
windmill_api/api/script/get_script_deployment_status.py,sha256=UhXGL1jlgVyZD9EUFOlyR9ePMNL9F9LZQgVaYvGdpV0,4317
|
|
249
251
|
windmill_api/api/script/get_script_history_by_path.py,sha256=0szC4OaMB9PKvkP1LQnJ3Nhk0vmSuB_LNPcJtPiVyPM,4589
|
|
250
252
|
windmill_api/api/script/get_top_hub_scripts.py,sha256=LqPNLI54T_v0LDdDsIaaQq76Ao3yV0ka4f_onTY_RAU,5111
|
|
253
|
+
windmill_api/api/script/get_triggers_count_of_script.py,sha256=aLNY9Ito4_Y7Ot_9wk7s-Ynt4Q02ato3Q4ZASHeWgts,4286
|
|
251
254
|
windmill_api/api/script/list_script_paths.py,sha256=LcCRe2Q-qxdnX3HAHRg-MjV7KOE1rMF4qr52JVxHWsk,2304
|
|
252
255
|
windmill_api/api/script/list_scripts.py,sha256=mssGAcxKUvOUBWS5ZldMV_gdk83TbcwzsjrZ7y-fQHE,14521
|
|
253
256
|
windmill_api/api/script/list_search_script.py,sha256=wzHOfe0ZwCs6jj26dvrDsJENJsYePQ0gU_m4ly3-APs,4214
|
|
257
|
+
windmill_api/api/script/list_tokens_of_script.py,sha256=EaeMTnjZ9JJ7I0O4BfiE5JlGk2-MJCGkgZEd2yMBs2c,4526
|
|
254
258
|
windmill_api/api/script/query_hub_scripts.py,sha256=e94cPrAMVgvYHWLzvpYHO8OP1uu14CXQW0X0oxu-Ym0,5746
|
|
255
259
|
windmill_api/api/script/raw_script_by_hash.py,sha256=WNkQaAmjUnX8ZdQSkTf36tQt6Z-biLF4imcOZ35iZo4,2444
|
|
256
260
|
windmill_api/api/script/raw_script_by_path.py,sha256=wh6-S18YugTXW4J7Qo0yeuJN7B6WqCW3wOU-f2rF3GE,2444
|
|
@@ -619,8 +623,8 @@ windmill_api/models/create_script_json_body.py,sha256=jdOBn32rjAWh2ujPqwnezaZpW0
|
|
|
619
623
|
windmill_api/models/create_script_json_body_kind.py,sha256=4tR9IUyHTiMEHnZe-bcCRkn8nVEGXB1oHwHR401k4ZE,249
|
|
620
624
|
windmill_api/models/create_script_json_body_language.py,sha256=SSch4uf-bodThzkPl-7JBJS3s6gYQUZziedqxNdvIXs,485
|
|
621
625
|
windmill_api/models/create_script_json_body_schema.py,sha256=fLtVF02xA72yAHEsO-wg-cCQzUdqBEEca01ATHulYt4,1294
|
|
622
|
-
windmill_api/models/create_token_impersonate_json_body.py,sha256=
|
|
623
|
-
windmill_api/models/create_token_json_body.py,sha256=
|
|
626
|
+
windmill_api/models/create_token_impersonate_json_body.py,sha256=xXOofFUNlHSmxyLI0rHx8wB4lYZ-02Vfkmgf_U47_20,2909
|
|
627
|
+
windmill_api/models/create_token_json_body.py,sha256=EQV--Yd3KEAuzAB8d3uLBxB3M1tSDKGw6zq3z_VBJNo,2924
|
|
624
628
|
windmill_api/models/create_user_globally_json_body.py,sha256=MrDk6Voi0gHLvhzS48pwixj7wRZ05bu1Bce5J-sXsVc,2427
|
|
625
629
|
windmill_api/models/create_variable.py,sha256=IJcYEB53wQ8avSx0W_ZSYi1BZ9aZ1bserdFsrSQHkA8,3227
|
|
626
630
|
windmill_api/models/create_variable_json_body.py,sha256=5qITUtE7-0T8tILyCMkpdzWUJmvnJxvqvyCSN5k-ytI,3273
|
|
@@ -2028,6 +2032,10 @@ windmill_api/models/get_suspended_job_flow_response_200_job_type_1_raw_flow_prep
|
|
|
2028
2032
|
windmill_api/models/get_suspended_job_flow_response_200_job_type_1_type.py,sha256=C8N3eSO8W-2BkIfS2BPT-KgWPhOie5-C_7RGwlGYn3I,175
|
|
2029
2033
|
windmill_api/models/get_top_hub_scripts_response_200.py,sha256=kqbTv8x-kJH3_FmTkZagVOcc16q4BUGqIlmG3WWFWRI,2345
|
|
2030
2034
|
windmill_api/models/get_top_hub_scripts_response_200_asks_item.py,sha256=o9hlAPS045SoJ_iObndt-2SqYhZpiJ5bbhe3nViCF2E,2669
|
|
2035
|
+
windmill_api/models/get_triggers_count_of_flow_response_200.py,sha256=QGZFzjy7kWqFZiJ8ccoptTh24ncJJ39JBOBwxHVPeA8,3968
|
|
2036
|
+
windmill_api/models/get_triggers_count_of_flow_response_200_primary_schedule.py,sha256=64hEeXUFhuPMAiIolPbfnTqYnKhn_AhacslXHjABZ84,1754
|
|
2037
|
+
windmill_api/models/get_triggers_count_of_script_response_200.py,sha256=c4E3VbsVUJvO7s5_Y_ZyX9zn8bmDhofaaDpylQijBI4,3994
|
|
2038
|
+
windmill_api/models/get_triggers_count_of_script_response_200_primary_schedule.py,sha256=pf1m2mjKwEN7_8ugaE4cE-jVXFyXngryOctpXY9qX9w,1764
|
|
2031
2039
|
windmill_api/models/get_tutorial_progress_response_200.py,sha256=b4BtXIK5s1-7alHtT8j67cPqg39qh_u9mkK0LXE2YhA,1652
|
|
2032
2040
|
windmill_api/models/get_user_response_200.py,sha256=1EIw1zAOf66Max-mO0gq6YE9QyN83U2paS5iT3GQT9k,3646
|
|
2033
2041
|
windmill_api/models/get_variable_response_200.py,sha256=3WK2IMm6-Jr7tvy-jfOFrt1eMIUXVQyLzTcogJZQZlw,5430
|
|
@@ -2668,7 +2676,8 @@ windmill_api/models/list_jobs_response_200_item_type_1_raw_flow_preprocessor_mod
|
|
|
2668
2676
|
windmill_api/models/list_jobs_response_200_item_type_1_raw_flow_preprocessor_module_suspend_user_groups_required_type_1_type.py,sha256=vPNSKiKSI6oSM7ZVgXnh6SEY9xwqnwyg9HeugYveRxY,222
|
|
2669
2677
|
windmill_api/models/list_jobs_response_200_item_type_1_type.py,sha256=sdZ7TEP0CM3iG4gDcSoJObCg5TL2iRjNGFOW8WBxyqk,165
|
|
2670
2678
|
windmill_api/models/list_log_files_response_200_item.py,sha256=G-Ckj2XTNGDsmTTId4k0xAJwctDZKo-hO4RCI5Cd-zk,3230
|
|
2671
|
-
windmill_api/models/list_o_auth_logins_response_200.py,sha256=
|
|
2679
|
+
windmill_api/models/list_o_auth_logins_response_200.py,sha256=2SSYSAAi5QIraPY5e_-2aXnJzSMvc5ZlNUGtRJqwEgg,2416
|
|
2680
|
+
windmill_api/models/list_o_auth_logins_response_200_oauth_item.py,sha256=8VYiDnoZF1kaFGCfMNKZcZSNxb4jiYjhEDsQx2eHXh0,1907
|
|
2672
2681
|
windmill_api/models/list_pending_invites_response_200_item.py,sha256=0fE8Lg-UhErEDIxVtxfi87bgUCsuWCKnH1XdlOZ7Js0,2139
|
|
2673
2682
|
windmill_api/models/list_queue_response_200_item.py,sha256=5AGNJrqeBVKhJXgKEjTJaq3_LoAaPLvy8ZneF-8uoww,13849
|
|
2674
2683
|
windmill_api/models/list_queue_response_200_item_args.py,sha256=ewTNkmdkSNDnn8hshLkr4zJJfqevHGDxdBSFarr7RTo,1307
|
|
@@ -2791,7 +2800,9 @@ windmill_api/models/list_search_resource_response_200_item.py,sha256=8zB2-kS-M7a
|
|
|
2791
2800
|
windmill_api/models/list_search_script_response_200_item.py,sha256=u9KO0-iGUfIiXi93f0oAoxhyC54HDUXdhAg527rEI4k,1701
|
|
2792
2801
|
windmill_api/models/list_stored_files_response_200.py,sha256=ash1Rn_UHZZQ2TTr77251MB0AV_nmrVXL55PV5JCWvA,3353
|
|
2793
2802
|
windmill_api/models/list_stored_files_response_200_windmill_large_files_item.py,sha256=saptp5l4JvFUIRpOAQQJWeNaSoYAUBDBrtf1581__30,1603
|
|
2794
|
-
windmill_api/models/
|
|
2803
|
+
windmill_api/models/list_tokens_of_flow_response_200_item.py,sha256=5C--MnFumkyMwWm8P6jsOPSKrLdoMgVql71fs4Tcr4c,3699
|
|
2804
|
+
windmill_api/models/list_tokens_of_script_response_200_item.py,sha256=GDIIhjLdBZ_6y8WriimWTwJuLsjaPZbCEFPstrfr3A8,3709
|
|
2805
|
+
windmill_api/models/list_tokens_response_200_item.py,sha256=5ve1lELULC7h0H7J8sLtR82BzSQpBqagwYhtmTCFgw8,3663
|
|
2795
2806
|
windmill_api/models/list_user_workspaces_response_200.py,sha256=BAnO9piWEGR53SaMdvy3EipJauC7VwRg3wxOrO2fJ6M,2504
|
|
2796
2807
|
windmill_api/models/list_user_workspaces_response_200_workspaces_item.py,sha256=h6S-3uZrb534lOUeubG-Zn-jUTeUwbWdwyo2p4dqCkg,1896
|
|
2797
2808
|
windmill_api/models/list_users_as_super_admin_response_200_item.py,sha256=NLCj7HJGdtCeuAFOrdbEY_Hcu1suQxzgYnXsZrnHZ1U,3226
|
|
@@ -2858,8 +2869,8 @@ windmill_api/models/new_script_with_draft_draft_schema.py,sha256=V4-wxz79ALa37CR
|
|
|
2858
2869
|
windmill_api/models/new_script_with_draft_kind.py,sha256=t_dv6ifmBvixO7B71MkBvIsujWLqeos8Cqw832SLmxE,247
|
|
2859
2870
|
windmill_api/models/new_script_with_draft_language.py,sha256=fpdgOD5tlvc6tQpcX2IUAvVbRSHoPfT9QD2wAeEP3ns,483
|
|
2860
2871
|
windmill_api/models/new_script_with_draft_schema.py,sha256=jDYRyPisWlZtHbRMtO6Gt7D4xx9Qcg_UCHSCbn9vbYs,1284
|
|
2861
|
-
windmill_api/models/new_token.py,sha256=
|
|
2862
|
-
windmill_api/models/new_token_impersonate.py,sha256=
|
|
2872
|
+
windmill_api/models/new_token.py,sha256=nVlHs1c4g88Kfu3qvlkYtw9YLulJiyARia_aDlVu36Q,2863
|
|
2873
|
+
windmill_api/models/new_token_impersonate.py,sha256=GABdQQzrVzDGwCePOSnGZCuOLLhufr0I4BRdzzs_YeU,2848
|
|
2863
2874
|
windmill_api/models/obscured_job.py,sha256=UddRXVc4mPMo0wHE2rvhVnF3GdGp9B5yTAvFZ1T3i_k,2469
|
|
2864
2875
|
windmill_api/models/open_flow.py,sha256=avdBcz55eMSgHN7wjxm-NMeJ5Dof6lgoYBd0gTbjCys,2815
|
|
2865
2876
|
windmill_api/models/open_flow_schema.py,sha256=rYgPCTvE9xleDbsgt6CCNt7gBH_iuV5r39cDjvmUum8,1228
|
|
@@ -3269,7 +3280,9 @@ windmill_api/models/timeseries_metric_values_item.py,sha256=eyL1fDGwrnzV4XRrxtoe
|
|
|
3269
3280
|
windmill_api/models/toggle_workspace_error_handler_for_flow_json_body.py,sha256=1vXElVe0Pg_HD3os014JuQk9m1Z-pXFcqZ34YmPN1zA,1690
|
|
3270
3281
|
windmill_api/models/toggle_workspace_error_handler_for_script_json_body.py,sha256=reKnangwhUzDqz1voRyRFyxNITOvdUmcQW3Fu_5P7Is,1700
|
|
3271
3282
|
windmill_api/models/token_response.py,sha256=PyeeoQNqffR43YgTrMDhn-lzq2qurpVF7zqQ8z1LmqA,2525
|
|
3272
|
-
windmill_api/models/
|
|
3283
|
+
windmill_api/models/triggers_count.py,sha256=hBodHsb1xCJwzUd1T6KcsuqRIyXzIGHA9xH-BKBm4P0,3641
|
|
3284
|
+
windmill_api/models/triggers_count_primary_schedule.py,sha256=e4cMwDQParo53c9z4bzRYI5DFs_QWw7rl1K_Yq5F7Gw,1639
|
|
3285
|
+
windmill_api/models/truncated_token.py,sha256=yKj2okVKTLYVp7oUHoYlhwillZqqXwiP4qq9gxodozQ,3599
|
|
3273
3286
|
windmill_api/models/unstar_json_body.py,sha256=D9nJC1BCQu4v1AANAqhA_afp8XoV1O4m5Wpo3YiLNOE,2312
|
|
3274
3287
|
windmill_api/models/unstar_json_body_favorite_kind.py,sha256=5XdeZQOEspYnnc1qkjwfb01mHKPZA5wZbzptlU4W5tc,211
|
|
3275
3288
|
windmill_api/models/update_app_history_json_body.py,sha256=lvV37A0wrVCQOnXv0Uf4cak11ZnlsgXIzJLAQ6OXzJE,1688
|
|
@@ -3354,7 +3367,7 @@ windmill_api/models/workspace_git_sync_settings_repositories_item_exclude_types_
|
|
|
3354
3367
|
windmill_api/models/workspace_invite.py,sha256=HnAJWGv5LwxWkz1T3fhgHKIccO7RFC1lixwUUXG6CXs,2037
|
|
3355
3368
|
windmill_api/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
|
|
3356
3369
|
windmill_api/types.py,sha256=GoYub3t4hQP2Yn5tsvShsBfIY3vHUmblU0MXszDx_V0,968
|
|
3357
|
-
windmill_api-1.
|
|
3358
|
-
windmill_api-1.
|
|
3359
|
-
windmill_api-1.
|
|
3360
|
-
windmill_api-1.
|
|
3370
|
+
windmill_api-1.409.0.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
|
|
3371
|
+
windmill_api-1.409.0.dist-info/METADATA,sha256=MqUzavEfAe1kT-707nl9pYwyKTDFkibcALYDnk91FUQ,5023
|
|
3372
|
+
windmill_api-1.409.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
|
|
3373
|
+
windmill_api-1.409.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|