windmill-api 1.385.0__py3-none-any.whl → 1.387.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.

@@ -6,21 +6,29 @@ import httpx
6
6
  from ... import errors
7
7
  from ...client import AuthenticatedClient, Client
8
8
  from ...models.get_app_by_path_response_200 import GetAppByPathResponse200
9
- from ...types import Response
9
+ from ...types import UNSET, Response, Unset
10
10
 
11
11
 
12
12
  def _get_kwargs(
13
13
  workspace: str,
14
14
  path: str,
15
+ *,
16
+ with_starred_info: Union[Unset, None, bool] = UNSET,
15
17
  ) -> Dict[str, Any]:
16
18
  pass
17
19
 
20
+ params: Dict[str, Any] = {}
21
+ params["with_starred_info"] = with_starred_info
22
+
23
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
24
+
18
25
  return {
19
26
  "method": "get",
20
27
  "url": "/w/{workspace}/apps/get/p/{path}".format(
21
28
  workspace=workspace,
22
29
  path=path,
23
30
  ),
31
+ "params": params,
24
32
  }
25
33
 
26
34
 
@@ -53,12 +61,14 @@ def sync_detailed(
53
61
  path: str,
54
62
  *,
55
63
  client: Union[AuthenticatedClient, Client],
64
+ with_starred_info: Union[Unset, None, bool] = UNSET,
56
65
  ) -> Response[GetAppByPathResponse200]:
57
66
  """get app by path
58
67
 
59
68
  Args:
60
69
  workspace (str):
61
70
  path (str):
71
+ with_starred_info (Union[Unset, None, bool]):
62
72
 
63
73
  Raises:
64
74
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -71,6 +81,7 @@ def sync_detailed(
71
81
  kwargs = _get_kwargs(
72
82
  workspace=workspace,
73
83
  path=path,
84
+ with_starred_info=with_starred_info,
74
85
  )
75
86
 
76
87
  response = client.get_httpx_client().request(
@@ -85,12 +96,14 @@ def sync(
85
96
  path: str,
86
97
  *,
87
98
  client: Union[AuthenticatedClient, Client],
99
+ with_starred_info: Union[Unset, None, bool] = UNSET,
88
100
  ) -> Optional[GetAppByPathResponse200]:
89
101
  """get app by path
90
102
 
91
103
  Args:
92
104
  workspace (str):
93
105
  path (str):
106
+ with_starred_info (Union[Unset, None, bool]):
94
107
 
95
108
  Raises:
96
109
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -104,6 +117,7 @@ def sync(
104
117
  workspace=workspace,
105
118
  path=path,
106
119
  client=client,
120
+ with_starred_info=with_starred_info,
107
121
  ).parsed
108
122
 
109
123
 
@@ -112,12 +126,14 @@ async def asyncio_detailed(
112
126
  path: str,
113
127
  *,
114
128
  client: Union[AuthenticatedClient, Client],
129
+ with_starred_info: Union[Unset, None, bool] = UNSET,
115
130
  ) -> Response[GetAppByPathResponse200]:
116
131
  """get app by path
117
132
 
118
133
  Args:
119
134
  workspace (str):
120
135
  path (str):
136
+ with_starred_info (Union[Unset, None, bool]):
121
137
 
122
138
  Raises:
123
139
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -130,6 +146,7 @@ async def asyncio_detailed(
130
146
  kwargs = _get_kwargs(
131
147
  workspace=workspace,
132
148
  path=path,
149
+ with_starred_info=with_starred_info,
133
150
  )
134
151
 
135
152
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -142,12 +159,14 @@ async def asyncio(
142
159
  path: str,
143
160
  *,
144
161
  client: Union[AuthenticatedClient, Client],
162
+ with_starred_info: Union[Unset, None, bool] = UNSET,
145
163
  ) -> Optional[GetAppByPathResponse200]:
146
164
  """get app by path
147
165
 
148
166
  Args:
149
167
  workspace (str):
150
168
  path (str):
169
+ with_starred_info (Union[Unset, None, bool]):
151
170
 
152
171
  Raises:
153
172
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -162,5 +181,6 @@ async def asyncio(
162
181
  workspace=workspace,
163
182
  path=path,
164
183
  client=client,
184
+ with_starred_info=with_starred_info,
165
185
  )
166
186
  ).parsed
@@ -6,21 +6,29 @@ import httpx
6
6
  from ... import errors
7
7
  from ...client import AuthenticatedClient, Client
8
8
  from ...models.get_flow_by_path_response_200 import GetFlowByPathResponse200
9
- from ...types import Response
9
+ from ...types import UNSET, Response, Unset
10
10
 
11
11
 
12
12
  def _get_kwargs(
13
13
  workspace: str,
14
14
  path: str,
15
+ *,
16
+ with_starred_info: Union[Unset, None, bool] = UNSET,
15
17
  ) -> Dict[str, Any]:
16
18
  pass
17
19
 
20
+ params: Dict[str, Any] = {}
21
+ params["with_starred_info"] = with_starred_info
22
+
23
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
24
+
18
25
  return {
19
26
  "method": "get",
20
27
  "url": "/w/{workspace}/flows/get/{path}".format(
21
28
  workspace=workspace,
22
29
  path=path,
23
30
  ),
31
+ "params": params,
24
32
  }
25
33
 
26
34
 
@@ -53,12 +61,14 @@ def sync_detailed(
53
61
  path: str,
54
62
  *,
55
63
  client: Union[AuthenticatedClient, Client],
64
+ with_starred_info: Union[Unset, None, bool] = UNSET,
56
65
  ) -> Response[GetFlowByPathResponse200]:
57
66
  """get flow by path
58
67
 
59
68
  Args:
60
69
  workspace (str):
61
70
  path (str):
71
+ with_starred_info (Union[Unset, None, bool]):
62
72
 
63
73
  Raises:
64
74
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -71,6 +81,7 @@ def sync_detailed(
71
81
  kwargs = _get_kwargs(
72
82
  workspace=workspace,
73
83
  path=path,
84
+ with_starred_info=with_starred_info,
74
85
  )
75
86
 
76
87
  response = client.get_httpx_client().request(
@@ -85,12 +96,14 @@ def sync(
85
96
  path: str,
86
97
  *,
87
98
  client: Union[AuthenticatedClient, Client],
99
+ with_starred_info: Union[Unset, None, bool] = UNSET,
88
100
  ) -> Optional[GetFlowByPathResponse200]:
89
101
  """get flow by path
90
102
 
91
103
  Args:
92
104
  workspace (str):
93
105
  path (str):
106
+ with_starred_info (Union[Unset, None, bool]):
94
107
 
95
108
  Raises:
96
109
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -104,6 +117,7 @@ def sync(
104
117
  workspace=workspace,
105
118
  path=path,
106
119
  client=client,
120
+ with_starred_info=with_starred_info,
107
121
  ).parsed
108
122
 
109
123
 
@@ -112,12 +126,14 @@ async def asyncio_detailed(
112
126
  path: str,
113
127
  *,
114
128
  client: Union[AuthenticatedClient, Client],
129
+ with_starred_info: Union[Unset, None, bool] = UNSET,
115
130
  ) -> Response[GetFlowByPathResponse200]:
116
131
  """get flow by path
117
132
 
118
133
  Args:
119
134
  workspace (str):
120
135
  path (str):
136
+ with_starred_info (Union[Unset, None, bool]):
121
137
 
122
138
  Raises:
123
139
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -130,6 +146,7 @@ async def asyncio_detailed(
130
146
  kwargs = _get_kwargs(
131
147
  workspace=workspace,
132
148
  path=path,
149
+ with_starred_info=with_starred_info,
133
150
  )
134
151
 
135
152
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -142,12 +159,14 @@ async def asyncio(
142
159
  path: str,
143
160
  *,
144
161
  client: Union[AuthenticatedClient, Client],
162
+ with_starred_info: Union[Unset, None, bool] = UNSET,
145
163
  ) -> Optional[GetFlowByPathResponse200]:
146
164
  """get flow by path
147
165
 
148
166
  Args:
149
167
  workspace (str):
150
168
  path (str):
169
+ with_starred_info (Union[Unset, None, bool]):
151
170
 
152
171
  Raises:
153
172
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -162,5 +181,6 @@ async def asyncio(
162
181
  workspace=workspace,
163
182
  path=path,
164
183
  client=client,
184
+ with_starred_info=with_starred_info,
165
185
  )
166
186
  ).parsed
@@ -6,21 +6,29 @@ import httpx
6
6
  from ... import errors
7
7
  from ...client import AuthenticatedClient, Client
8
8
  from ...models.get_script_by_hash_response_200 import GetScriptByHashResponse200
9
- from ...types import Response
9
+ from ...types import UNSET, Response, Unset
10
10
 
11
11
 
12
12
  def _get_kwargs(
13
13
  workspace: str,
14
14
  hash_: str,
15
+ *,
16
+ with_starred_info: Union[Unset, None, bool] = UNSET,
15
17
  ) -> Dict[str, Any]:
16
18
  pass
17
19
 
20
+ params: Dict[str, Any] = {}
21
+ params["with_starred_info"] = with_starred_info
22
+
23
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
24
+
18
25
  return {
19
26
  "method": "get",
20
27
  "url": "/w/{workspace}/scripts/get/h/{hash}".format(
21
28
  workspace=workspace,
22
29
  hash=hash_,
23
30
  ),
31
+ "params": params,
24
32
  }
25
33
 
26
34
 
@@ -53,12 +61,14 @@ def sync_detailed(
53
61
  hash_: str,
54
62
  *,
55
63
  client: Union[AuthenticatedClient, Client],
64
+ with_starred_info: Union[Unset, None, bool] = UNSET,
56
65
  ) -> Response[GetScriptByHashResponse200]:
57
66
  """get script by hash
58
67
 
59
68
  Args:
60
69
  workspace (str):
61
70
  hash_ (str):
71
+ with_starred_info (Union[Unset, None, bool]):
62
72
 
63
73
  Raises:
64
74
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -71,6 +81,7 @@ def sync_detailed(
71
81
  kwargs = _get_kwargs(
72
82
  workspace=workspace,
73
83
  hash_=hash_,
84
+ with_starred_info=with_starred_info,
74
85
  )
75
86
 
76
87
  response = client.get_httpx_client().request(
@@ -85,12 +96,14 @@ def sync(
85
96
  hash_: str,
86
97
  *,
87
98
  client: Union[AuthenticatedClient, Client],
99
+ with_starred_info: Union[Unset, None, bool] = UNSET,
88
100
  ) -> Optional[GetScriptByHashResponse200]:
89
101
  """get script by hash
90
102
 
91
103
  Args:
92
104
  workspace (str):
93
105
  hash_ (str):
106
+ with_starred_info (Union[Unset, None, bool]):
94
107
 
95
108
  Raises:
96
109
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -104,6 +117,7 @@ def sync(
104
117
  workspace=workspace,
105
118
  hash_=hash_,
106
119
  client=client,
120
+ with_starred_info=with_starred_info,
107
121
  ).parsed
108
122
 
109
123
 
@@ -112,12 +126,14 @@ async def asyncio_detailed(
112
126
  hash_: str,
113
127
  *,
114
128
  client: Union[AuthenticatedClient, Client],
129
+ with_starred_info: Union[Unset, None, bool] = UNSET,
115
130
  ) -> Response[GetScriptByHashResponse200]:
116
131
  """get script by hash
117
132
 
118
133
  Args:
119
134
  workspace (str):
120
135
  hash_ (str):
136
+ with_starred_info (Union[Unset, None, bool]):
121
137
 
122
138
  Raises:
123
139
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -130,6 +146,7 @@ async def asyncio_detailed(
130
146
  kwargs = _get_kwargs(
131
147
  workspace=workspace,
132
148
  hash_=hash_,
149
+ with_starred_info=with_starred_info,
133
150
  )
134
151
 
135
152
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -142,12 +159,14 @@ async def asyncio(
142
159
  hash_: str,
143
160
  *,
144
161
  client: Union[AuthenticatedClient, Client],
162
+ with_starred_info: Union[Unset, None, bool] = UNSET,
145
163
  ) -> Optional[GetScriptByHashResponse200]:
146
164
  """get script by hash
147
165
 
148
166
  Args:
149
167
  workspace (str):
150
168
  hash_ (str):
169
+ with_starred_info (Union[Unset, None, bool]):
151
170
 
152
171
  Raises:
153
172
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -162,5 +181,6 @@ async def asyncio(
162
181
  workspace=workspace,
163
182
  hash_=hash_,
164
183
  client=client,
184
+ with_starred_info=with_starred_info,
165
185
  )
166
186
  ).parsed
@@ -6,21 +6,29 @@ import httpx
6
6
  from ... import errors
7
7
  from ...client import AuthenticatedClient, Client
8
8
  from ...models.get_script_by_path_response_200 import GetScriptByPathResponse200
9
- from ...types import Response
9
+ from ...types import UNSET, Response, Unset
10
10
 
11
11
 
12
12
  def _get_kwargs(
13
13
  workspace: str,
14
14
  path: str,
15
+ *,
16
+ with_starred_info: Union[Unset, None, bool] = UNSET,
15
17
  ) -> Dict[str, Any]:
16
18
  pass
17
19
 
20
+ params: Dict[str, Any] = {}
21
+ params["with_starred_info"] = with_starred_info
22
+
23
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
24
+
18
25
  return {
19
26
  "method": "get",
20
27
  "url": "/w/{workspace}/scripts/get/p/{path}".format(
21
28
  workspace=workspace,
22
29
  path=path,
23
30
  ),
31
+ "params": params,
24
32
  }
25
33
 
26
34
 
@@ -53,12 +61,14 @@ def sync_detailed(
53
61
  path: str,
54
62
  *,
55
63
  client: Union[AuthenticatedClient, Client],
64
+ with_starred_info: Union[Unset, None, bool] = UNSET,
56
65
  ) -> Response[GetScriptByPathResponse200]:
57
66
  """get script by path
58
67
 
59
68
  Args:
60
69
  workspace (str):
61
70
  path (str):
71
+ with_starred_info (Union[Unset, None, bool]):
62
72
 
63
73
  Raises:
64
74
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -71,6 +81,7 @@ def sync_detailed(
71
81
  kwargs = _get_kwargs(
72
82
  workspace=workspace,
73
83
  path=path,
84
+ with_starred_info=with_starred_info,
74
85
  )
75
86
 
76
87
  response = client.get_httpx_client().request(
@@ -85,12 +96,14 @@ def sync(
85
96
  path: str,
86
97
  *,
87
98
  client: Union[AuthenticatedClient, Client],
99
+ with_starred_info: Union[Unset, None, bool] = UNSET,
88
100
  ) -> Optional[GetScriptByPathResponse200]:
89
101
  """get script by path
90
102
 
91
103
  Args:
92
104
  workspace (str):
93
105
  path (str):
106
+ with_starred_info (Union[Unset, None, bool]):
94
107
 
95
108
  Raises:
96
109
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -104,6 +117,7 @@ def sync(
104
117
  workspace=workspace,
105
118
  path=path,
106
119
  client=client,
120
+ with_starred_info=with_starred_info,
107
121
  ).parsed
108
122
 
109
123
 
@@ -112,12 +126,14 @@ async def asyncio_detailed(
112
126
  path: str,
113
127
  *,
114
128
  client: Union[AuthenticatedClient, Client],
129
+ with_starred_info: Union[Unset, None, bool] = UNSET,
115
130
  ) -> Response[GetScriptByPathResponse200]:
116
131
  """get script by path
117
132
 
118
133
  Args:
119
134
  workspace (str):
120
135
  path (str):
136
+ with_starred_info (Union[Unset, None, bool]):
121
137
 
122
138
  Raises:
123
139
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -130,6 +146,7 @@ async def asyncio_detailed(
130
146
  kwargs = _get_kwargs(
131
147
  workspace=workspace,
132
148
  path=path,
149
+ with_starred_info=with_starred_info,
133
150
  )
134
151
 
135
152
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -142,12 +159,14 @@ async def asyncio(
142
159
  path: str,
143
160
  *,
144
161
  client: Union[AuthenticatedClient, Client],
162
+ with_starred_info: Union[Unset, None, bool] = UNSET,
145
163
  ) -> Optional[GetScriptByPathResponse200]:
146
164
  """get script by path
147
165
 
148
166
  Args:
149
167
  workspace (str):
150
168
  path (str):
169
+ with_starred_info (Union[Unset, None, bool]):
151
170
 
152
171
  Raises:
153
172
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -162,5 +181,6 @@ async def asyncio(
162
181
  workspace=workspace,
163
182
  path=path,
164
183
  client=client,
184
+ with_starred_info=with_starred_info,
165
185
  )
166
186
  ).parsed
@@ -13,19 +13,24 @@ class GlobalUserUpdateJsonBody:
13
13
  """
14
14
  Attributes:
15
15
  is_super_admin (Union[Unset, bool]):
16
+ name (Union[Unset, str]):
16
17
  """
17
18
 
18
19
  is_super_admin: Union[Unset, bool] = UNSET
20
+ name: Union[Unset, str] = UNSET
19
21
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
20
22
 
21
23
  def to_dict(self) -> Dict[str, Any]:
22
24
  is_super_admin = self.is_super_admin
25
+ name = self.name
23
26
 
24
27
  field_dict: Dict[str, Any] = {}
25
28
  field_dict.update(self.additional_properties)
26
29
  field_dict.update({})
27
30
  if is_super_admin is not UNSET:
28
31
  field_dict["is_super_admin"] = is_super_admin
32
+ if name is not UNSET:
33
+ field_dict["name"] = name
29
34
 
30
35
  return field_dict
31
36
 
@@ -34,8 +39,11 @@ class GlobalUserUpdateJsonBody:
34
39
  d = src_dict.copy()
35
40
  is_super_admin = d.pop("is_super_admin", UNSET)
36
41
 
42
+ name = d.pop("name", UNSET)
43
+
37
44
  global_user_update_json_body = cls(
38
45
  is_super_admin=is_super_admin,
46
+ name=name,
39
47
  )
40
48
 
41
49
  global_user_update_json_body.additional_properties = d
@@ -23,8 +23,8 @@ class ListWorkersResponse200Item:
23
23
  wm_version (str):
24
24
  last_ping (Union[Unset, float]):
25
25
  custom_tags (Union[Unset, List[str]]):
26
- current_job_id (Union[Unset, str]):
27
- current_job_workspace_id (Union[Unset, str]):
26
+ last_job_id (Union[Unset, str]):
27
+ last_job_workspace_id (Union[Unset, str]):
28
28
  occupancy_rate (Union[Unset, float]):
29
29
  memory (Union[Unset, float]):
30
30
  vcpus (Union[Unset, float]):
@@ -41,8 +41,8 @@ class ListWorkersResponse200Item:
41
41
  wm_version: str
42
42
  last_ping: Union[Unset, float] = UNSET
43
43
  custom_tags: Union[Unset, List[str]] = UNSET
44
- current_job_id: Union[Unset, str] = UNSET
45
- current_job_workspace_id: Union[Unset, str] = UNSET
44
+ last_job_id: Union[Unset, str] = UNSET
45
+ last_job_workspace_id: Union[Unset, str] = UNSET
46
46
  occupancy_rate: Union[Unset, float] = UNSET
47
47
  memory: Union[Unset, float] = UNSET
48
48
  vcpus: Union[Unset, float] = UNSET
@@ -64,8 +64,8 @@ class ListWorkersResponse200Item:
64
64
  if not isinstance(self.custom_tags, Unset):
65
65
  custom_tags = self.custom_tags
66
66
 
67
- current_job_id = self.current_job_id
68
- current_job_workspace_id = self.current_job_workspace_id
67
+ last_job_id = self.last_job_id
68
+ last_job_workspace_id = self.last_job_workspace_id
69
69
  occupancy_rate = self.occupancy_rate
70
70
  memory = self.memory
71
71
  vcpus = self.vcpus
@@ -89,10 +89,10 @@ class ListWorkersResponse200Item:
89
89
  field_dict["last_ping"] = last_ping
90
90
  if custom_tags is not UNSET:
91
91
  field_dict["custom_tags"] = custom_tags
92
- if current_job_id is not UNSET:
93
- field_dict["current_job_id"] = current_job_id
94
- if current_job_workspace_id is not UNSET:
95
- field_dict["current_job_workspace_id"] = current_job_workspace_id
92
+ if last_job_id is not UNSET:
93
+ field_dict["last_job_id"] = last_job_id
94
+ if last_job_workspace_id is not UNSET:
95
+ field_dict["last_job_workspace_id"] = last_job_workspace_id
96
96
  if occupancy_rate is not UNSET:
97
97
  field_dict["occupancy_rate"] = occupancy_rate
98
98
  if memory is not UNSET:
@@ -127,9 +127,9 @@ class ListWorkersResponse200Item:
127
127
 
128
128
  custom_tags = cast(List[str], d.pop("custom_tags", UNSET))
129
129
 
130
- current_job_id = d.pop("current_job_id", UNSET)
130
+ last_job_id = d.pop("last_job_id", UNSET)
131
131
 
132
- current_job_workspace_id = d.pop("current_job_workspace_id", UNSET)
132
+ last_job_workspace_id = d.pop("last_job_workspace_id", UNSET)
133
133
 
134
134
  occupancy_rate = d.pop("occupancy_rate", UNSET)
135
135
 
@@ -151,8 +151,8 @@ class ListWorkersResponse200Item:
151
151
  wm_version=wm_version,
152
152
  last_ping=last_ping,
153
153
  custom_tags=custom_tags,
154
- current_job_id=current_job_id,
155
- current_job_workspace_id=current_job_workspace_id,
154
+ last_job_id=last_job_id,
155
+ last_job_workspace_id=last_job_workspace_id,
156
156
  occupancy_rate=occupancy_rate,
157
157
  memory=memory,
158
158
  vcpus=vcpus,
@@ -23,8 +23,8 @@ class WorkerPing:
23
23
  wm_version (str):
24
24
  last_ping (Union[Unset, float]):
25
25
  custom_tags (Union[Unset, List[str]]):
26
- current_job_id (Union[Unset, str]):
27
- current_job_workspace_id (Union[Unset, str]):
26
+ last_job_id (Union[Unset, str]):
27
+ last_job_workspace_id (Union[Unset, str]):
28
28
  occupancy_rate (Union[Unset, float]):
29
29
  memory (Union[Unset, float]):
30
30
  vcpus (Union[Unset, float]):
@@ -41,8 +41,8 @@ class WorkerPing:
41
41
  wm_version: str
42
42
  last_ping: Union[Unset, float] = UNSET
43
43
  custom_tags: Union[Unset, List[str]] = UNSET
44
- current_job_id: Union[Unset, str] = UNSET
45
- current_job_workspace_id: Union[Unset, str] = UNSET
44
+ last_job_id: Union[Unset, str] = UNSET
45
+ last_job_workspace_id: Union[Unset, str] = UNSET
46
46
  occupancy_rate: Union[Unset, float] = UNSET
47
47
  memory: Union[Unset, float] = UNSET
48
48
  vcpus: Union[Unset, float] = UNSET
@@ -64,8 +64,8 @@ class WorkerPing:
64
64
  if not isinstance(self.custom_tags, Unset):
65
65
  custom_tags = self.custom_tags
66
66
 
67
- current_job_id = self.current_job_id
68
- current_job_workspace_id = self.current_job_workspace_id
67
+ last_job_id = self.last_job_id
68
+ last_job_workspace_id = self.last_job_workspace_id
69
69
  occupancy_rate = self.occupancy_rate
70
70
  memory = self.memory
71
71
  vcpus = self.vcpus
@@ -89,10 +89,10 @@ class WorkerPing:
89
89
  field_dict["last_ping"] = last_ping
90
90
  if custom_tags is not UNSET:
91
91
  field_dict["custom_tags"] = custom_tags
92
- if current_job_id is not UNSET:
93
- field_dict["current_job_id"] = current_job_id
94
- if current_job_workspace_id is not UNSET:
95
- field_dict["current_job_workspace_id"] = current_job_workspace_id
92
+ if last_job_id is not UNSET:
93
+ field_dict["last_job_id"] = last_job_id
94
+ if last_job_workspace_id is not UNSET:
95
+ field_dict["last_job_workspace_id"] = last_job_workspace_id
96
96
  if occupancy_rate is not UNSET:
97
97
  field_dict["occupancy_rate"] = occupancy_rate
98
98
  if memory is not UNSET:
@@ -127,9 +127,9 @@ class WorkerPing:
127
127
 
128
128
  custom_tags = cast(List[str], d.pop("custom_tags", UNSET))
129
129
 
130
- current_job_id = d.pop("current_job_id", UNSET)
130
+ last_job_id = d.pop("last_job_id", UNSET)
131
131
 
132
- current_job_workspace_id = d.pop("current_job_workspace_id", UNSET)
132
+ last_job_workspace_id = d.pop("last_job_workspace_id", UNSET)
133
133
 
134
134
  occupancy_rate = d.pop("occupancy_rate", UNSET)
135
135
 
@@ -151,8 +151,8 @@ class WorkerPing:
151
151
  wm_version=wm_version,
152
152
  last_ping=last_ping,
153
153
  custom_tags=custom_tags,
154
- current_job_id=current_job_id,
155
- current_job_workspace_id=current_job_workspace_id,
154
+ last_job_id=last_job_id,
155
+ last_job_workspace_id=last_job_workspace_id,
156
156
  occupancy_rate=occupancy_rate,
157
157
  memory=memory,
158
158
  vcpus=vcpus,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: windmill-api
3
- Version: 1.385.0
3
+ Version: 1.387.0
4
4
  Summary: A client library for accessing Windmill API
5
5
  License: Apache-2.0
6
6
  Author: Ruben Fiszel
@@ -5,7 +5,7 @@ windmill_api/api/app/create_app.py,sha256=oy93qpykDNZq5UkaaQDv1GRBxgqglXx103oYEM
5
5
  windmill_api/api/app/delete_app.py,sha256=O3s49o79D7gAxftHnVXY1FTF2BYm_TelXfD5g4Tsp_I,2429
6
6
  windmill_api/api/app/execute_component.py,sha256=tolIAPC8iFjn4PkpPiQfzIFubjJ9TcmxE9emx32eu9E,2881
7
7
  windmill_api/api/app/exists_app.py,sha256=I6rqA8nCEwkHcqmKEI3x-jRUjoOC3Q3yL_KAz-wHWSo,3811
8
- windmill_api/api/app/get_app_by_path.py,sha256=lE6TdrTk71ZGPdYhRO48jCd0cOSOFi-OfGZQKkIuW5E,4061
8
+ windmill_api/api/app/get_app_by_path.py,sha256=IkPJnQJzsXRP6y8fZfJ4jHenlqee94p_IlcbFjt7AkI,4962
9
9
  windmill_api/api/app/get_app_by_path_with_draft.py,sha256=SNUCyngQiPqLm3rB3bMgUIGSsk8PcntTpN3zlEYuGvw,4228
10
10
  windmill_api/api/app/get_app_by_version.py,sha256=TpzB151hhL3TrKNLUcHHFqUtK8Ei2-E1ZiG4yi_-Byc,4072
11
11
  windmill_api/api/app/get_app_history_by_path.py,sha256=GAHSMcng9JX-s9iAQGtHdfj0_d36IJV_HIRSShX_Tyo,4515
@@ -47,7 +47,7 @@ windmill_api/api/flow/archive_flow_by_path.py,sha256=xMNSWMSk9WBA7JbqOOgfjP391DN
47
47
  windmill_api/api/flow/create_flow.py,sha256=yE1F_IlrHu5CUqzcrbG-ET8Mn0zHdzr19OGam-XvTuk,2664
48
48
  windmill_api/api/flow/delete_flow_by_path.py,sha256=VfDYijTdfKIIx-ME-GhPmL5HkWJ7iJCGpihmGR6aT1E,2448
49
49
  windmill_api/api/flow/exists_flow_by_path.py,sha256=YZuCYmtAcDPInobJibqXoUVQTCylIserohEgYbWsnv0,3784
50
- windmill_api/api/flow/get_flow_by_path.py,sha256=AXKvcdz36ki7Qo3zDj_dptJ5DbiuzdtaTlO9nFc0w6c,4077
50
+ windmill_api/api/flow/get_flow_by_path.py,sha256=zg_PiWpieqQaP8cw4Fq4c1l7_-XY73Yu3lK886PqAuY,4978
51
51
  windmill_api/api/flow/get_flow_by_path_with_draft.py,sha256=LmkuXkN7B-HNdo_iq21z4oMFM6W363NAd78GTlb6cp0,4246
52
52
  windmill_api/api/flow/get_flow_history.py,sha256=OT_yKnEKMKssKuzqWdKRTKtLkAON0pzzhAP7g9w3cJw,4453
53
53
  windmill_api/api/flow/get_flow_input_history_by_path.py,sha256=TBdjeZCfNUXmXKwRDKonR_mzOtUFdp9Jnq-ywa5eP1A,5888
@@ -228,8 +228,8 @@ windmill_api/api/script/delete_script_by_path.py,sha256=pixxZSROtfKgjWXWNdnHRvio
228
228
  windmill_api/api/script/exists_script_by_path.py,sha256=Ky3tszUK8r2F32tpIckNCCR4CvesDefFTQPBqvuuZe0,3796
229
229
  windmill_api/api/script/get_hub_script_by_path.py,sha256=hPTJoSd6hZwQfS65RGoAP8OTWhhRxNBwPm8H6IxtsU4,3831
230
230
  windmill_api/api/script/get_hub_script_content_by_path.py,sha256=bl4zEfVFfYw9kxuv1ByYgXm8iBtpTNOQ_G-2u61wVQ4,2255
231
- windmill_api/api/script/get_script_by_hash.py,sha256=l9s9kXxwzoPcAOAAVQWuhUhvTljBZOyGkBLJ683jE18,4133
232
- windmill_api/api/script/get_script_by_path.py,sha256=nmLwfS7caOhufzWgffMelPpOxu0V8bzdnaiRld1qdp8,4115
231
+ windmill_api/api/script/get_script_by_hash.py,sha256=0riIGjFiE1MMHy8JSiptbbpMujuV1cnC6FNj93ZKkqQ,5034
232
+ windmill_api/api/script/get_script_by_path.py,sha256=pvWx8cUDPvedmK9QIcCcZZEeDreVYfbCsM-y78-6K-Y,5016
233
233
  windmill_api/api/script/get_script_by_path_with_draft.py,sha256=UplDhcwAc0IlgY1ibRwy0wiygcubYkNZhWx1xnLcQq8,4282
234
234
  windmill_api/api/script/get_script_deployment_status.py,sha256=UhXGL1jlgVyZD9EUFOlyR9ePMNL9F9LZQgVaYvGdpV0,4317
235
235
  windmill_api/api/script/get_script_history_by_path.py,sha256=0szC4OaMB9PKvkP1LQnJ3Nhk0vmSuB_LNPcJtPiVyPM,4589
@@ -1628,7 +1628,7 @@ windmill_api/models/global_setting_value.py,sha256=iNYDija5EzLJMOATmSzfaW54v5ijJ
1628
1628
  windmill_api/models/global_user_info.py,sha256=A0kEKg-cTlhXfB70znWToXPd60TqOdqOYjj9ODDwzII,2977
1629
1629
  windmill_api/models/global_user_info_login_type.py,sha256=tH-V57pP-V4cI1KyZghLrLLKGvwoWslebdS5q-FUP5k,176
1630
1630
  windmill_api/models/global_user_rename_json_body.py,sha256=KcZdvFfNXshHS4QX0DkrJdtxLDlIpy0Ecvik2IQPlNk,1571
1631
- windmill_api/models/global_user_update_json_body.py,sha256=eKDNMNfQLwGM4RdH6GjiqMTxZHBUZJPnsdpQN9JGc9g,1690
1631
+ windmill_api/models/global_user_update_json_body.py,sha256=RTSOP73hSrERYt7n5OZ57_lbG9SYmNjue1xv2jksaxE,1913
1632
1632
  windmill_api/models/global_username_info_response_200.py,sha256=jIP6ayJCkWfSYzVwM3E0GQRfkqOEfZ26gzh0eXGZ4Ug,2837
1633
1633
  windmill_api/models/global_username_info_response_200_workspace_usernames_item.py,sha256=qkLgj-qbaQvgEzDcHleAQPCsfxWb4H35I759C6V7WfY,1897
1634
1634
  windmill_api/models/global_users_export_response_200_item.py,sha256=yWcU445ZK5e0WE1AmA5O-fSCCN4selkj_vvHFX5osy0,3305
@@ -2165,7 +2165,7 @@ windmill_api/models/list_users_usage_response_200_item.py,sha256=0ZKMktaSC_LTPol
2165
2165
  windmill_api/models/list_variable_response_200_item.py,sha256=nrPTcHabE71NPFFws-4Zl-7I8u1JOZacAabbiVdLjfk,5495
2166
2166
  windmill_api/models/list_variable_response_200_item_extra_perms.py,sha256=Tx5hXdRHxg4SBN__jLzKf5cT09WbuLSmuOgDDkaKBlU,1358
2167
2167
  windmill_api/models/list_worker_groups_response_200_item.py,sha256=w_PZKDxTlz3OBBTitMFwj0N040mfkd7HFsEuvhThTgQ,1691
2168
- windmill_api/models/list_workers_response_200_item.py,sha256=nYsA5xwHzxT0q3J_uuEVfgRBietpkc844-tCTVXhZSI,5888
2168
+ windmill_api/models/list_workers_response_200_item.py,sha256=mJsIXmGVneqM-PsaacUmgQcleCt7SbhppqtnFgzi7m4,5822
2169
2169
  windmill_api/models/list_workspace_invites_response_200_item.py,sha256=vIkLzbVL9ANye2rvrBWxECFUFAyTwBZ1qe8-J2cSPCE,2149
2170
2170
  windmill_api/models/list_workspaces_as_super_admin_response_200_item.py,sha256=UPVgqLNP6Tk0ydVTr4E6DdOld7AWQ3mt4gHgj590x8U,2145
2171
2171
  windmill_api/models/list_workspaces_response_200_item.py,sha256=dw4097XYfAJQiIrQ5evdnJPnvClCNtCphWAp3MJvVoA,2076
@@ -2598,7 +2598,7 @@ windmill_api/models/windmill_file_metadata.py,sha256=HVl3TD56e7IFrmrAvSgO0Xz9JHF
2598
2598
  windmill_api/models/windmill_file_preview.py,sha256=SD0Ii7DxWzVo5Kn7LMl_rf8BF9FFlcJSC0gdCg1TuaQ,2229
2599
2599
  windmill_api/models/windmill_file_preview_content_type.py,sha256=6RSZIG646TFP6hNFzZ0bsFSCYLQKy-v9F3FBdYbAaZM,223
2600
2600
  windmill_api/models/windmill_large_file.py,sha256=N8IHEVY0usXgV3M0E3DzT7BgXcFI1l-mOgHAm7uqxMk,1430
2601
- windmill_api/models/worker_ping.py,sha256=mB0GmugPBcn3CLB6H5kpYis4J3ZE_KTOY-WDOVR-Mvc,5799
2601
+ windmill_api/models/worker_ping.py,sha256=8MEy799wXvlIF2y74J8b-xJxtC2-n6HkzX_-f2oeNWU,5733
2602
2602
  windmill_api/models/workflow_status.py,sha256=cUrhrLCmh-WmqoSCsM8JwxgawHWW6N9-a8HkQFyKzlw,3168
2603
2603
  windmill_api/models/workflow_status_record.py,sha256=G80ixgFYomKT1Yp0mmDXHYvIBE1Ib80H_3xh9AJnEi8,1967
2604
2604
  windmill_api/models/workflow_status_record_additional_property.py,sha256=pM8siiUXW262BfOHWJQLa6l4AR3ievw4SpjS5fzXkmk,3297
@@ -2615,7 +2615,7 @@ windmill_api/models/workspace_git_sync_settings_repositories_item_exclude_types_
2615
2615
  windmill_api/models/workspace_invite.py,sha256=HnAJWGv5LwxWkz1T3fhgHKIccO7RFC1lixwUUXG6CXs,2037
2616
2616
  windmill_api/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
2617
2617
  windmill_api/types.py,sha256=GoYub3t4hQP2Yn5tsvShsBfIY3vHUmblU0MXszDx_V0,968
2618
- windmill_api-1.385.0.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
2619
- windmill_api-1.385.0.dist-info/METADATA,sha256=G6Mci0byHbwi3euiwmE-RDGlMVsDlnEnCQMb8LFhb4w,5023
2620
- windmill_api-1.385.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
2621
- windmill_api-1.385.0.dist-info/RECORD,,
2618
+ windmill_api-1.387.0.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
2619
+ windmill_api-1.387.0.dist-info/METADATA,sha256=NtvnmNBaUnL4n0pIzTb0TR3Jm7xNFdCA6aehnEO1ImU,5023
2620
+ windmill_api-1.387.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
2621
+ windmill_api-1.387.0.dist-info/RECORD,,