GitHubKit 0.12.11__py3-none-any.whl → 0.12.12__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 GitHubKit might be problematic. Click here for more details.
- githubkit/rest/paginator.py +47 -45
- githubkit/versions/ghec_v2022_11_28/rest/checks.py +0 -8
- githubkit/versions/ghec_v2022_11_28/rest/dependabot.py +13 -1
- githubkit/versions/v2022_11_28/rest/checks.py +0 -8
- githubkit/versions/v2022_11_28/rest/dependabot.py +13 -1
- {githubkit-0.12.11.dist-info → githubkit-0.12.12.dist-info}/METADATA +1 -1
- {githubkit-0.12.11.dist-info → githubkit-0.12.12.dist-info}/RECORD +9 -9
- {githubkit-0.12.11.dist-info → githubkit-0.12.12.dist-info}/LICENSE +0 -0
- {githubkit-0.12.11.dist-info → githubkit-0.12.12.dist-info}/WHEEL +0 -0
githubkit/rest/paginator.py
CHANGED
|
@@ -6,6 +6,7 @@ from typing import (
|
|
|
6
6
|
Callable,
|
|
7
7
|
Generic,
|
|
8
8
|
Optional,
|
|
9
|
+
TypedDict,
|
|
9
10
|
TypeVar,
|
|
10
11
|
Union,
|
|
11
12
|
cast,
|
|
@@ -16,6 +17,7 @@ from typing_extensions import ParamSpec, Self
|
|
|
16
17
|
import httpx
|
|
17
18
|
|
|
18
19
|
from githubkit.response import Response
|
|
20
|
+
from githubkit.typing import HeaderTypes
|
|
19
21
|
from githubkit.utils import is_async
|
|
20
22
|
|
|
21
23
|
if TYPE_CHECKING:
|
|
@@ -35,6 +37,12 @@ R = Union[
|
|
|
35
37
|
NEXT_LINK_PATTERN = r'<([^<>]+)>;\s*rel="next"'
|
|
36
38
|
|
|
37
39
|
|
|
40
|
+
class PaginatorState(TypedDict):
|
|
41
|
+
next_link: Optional[httpx.URL]
|
|
42
|
+
request_method: str
|
|
43
|
+
response_model: Any
|
|
44
|
+
|
|
45
|
+
|
|
38
46
|
# https://docs.github.com/en/rest/using-the-rest-api/using-pagination-in-the-rest-api
|
|
39
47
|
# https://github.com/octokit/plugin-paginate-rest.js/blob/1f44b5469b31ddec9621000e6e1aee63c71ea8bf/src/iterator.ts
|
|
40
48
|
class Paginator(Generic[RT]):
|
|
@@ -76,10 +84,7 @@ class Paginator(Generic[RT]):
|
|
|
76
84
|
|
|
77
85
|
self.map_func = map_func
|
|
78
86
|
|
|
79
|
-
self.
|
|
80
|
-
self._request_method: Optional[str] = None
|
|
81
|
-
self._response_model: Optional[Any] = None
|
|
82
|
-
self._next_link: Optional[httpx.URL] = None
|
|
87
|
+
self._state: Optional[PaginatorState] = None
|
|
83
88
|
|
|
84
89
|
self._index: int = 0
|
|
85
90
|
self._cached_data: list[RT] = []
|
|
@@ -87,22 +92,26 @@ class Paginator(Generic[RT]):
|
|
|
87
92
|
@property
|
|
88
93
|
def finalized(self) -> bool:
|
|
89
94
|
"""Whether the paginator is finalized or not."""
|
|
90
|
-
return self.
|
|
95
|
+
return (self._state["next_link"] is None) if self._state is not None else False
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
def _headers(self) -> Optional[HeaderTypes]:
|
|
99
|
+
return self.kwargs.get("headers") # type: ignore
|
|
91
100
|
|
|
92
101
|
def reset(self) -> None:
|
|
93
102
|
"""Reset the paginator to the initial state."""
|
|
94
103
|
|
|
95
|
-
self.
|
|
96
|
-
self._next_link = None
|
|
104
|
+
self._state = None
|
|
97
105
|
self._index = 0
|
|
98
106
|
self._cached_data = []
|
|
99
107
|
|
|
100
108
|
def __next__(self) -> RT:
|
|
101
109
|
while self._index >= len(self._cached_data):
|
|
102
|
-
self._get_next_page()
|
|
103
110
|
if self.finalized:
|
|
104
111
|
raise StopIteration
|
|
105
112
|
|
|
113
|
+
self._get_next_page()
|
|
114
|
+
|
|
106
115
|
current = self._cached_data[self._index]
|
|
107
116
|
self._index += 1
|
|
108
117
|
return current
|
|
@@ -114,10 +123,11 @@ class Paginator(Generic[RT]):
|
|
|
114
123
|
|
|
115
124
|
async def __anext__(self) -> RT:
|
|
116
125
|
while self._index >= len(self._cached_data):
|
|
117
|
-
await self._aget_next_page()
|
|
118
126
|
if self.finalized:
|
|
119
127
|
raise StopAsyncIteration
|
|
120
128
|
|
|
129
|
+
await self._aget_next_page()
|
|
130
|
+
|
|
121
131
|
current = self._cached_data[self._index]
|
|
122
132
|
self._index += 1
|
|
123
133
|
return current
|
|
@@ -151,64 +161,56 @@ class Paginator(Generic[RT]):
|
|
|
151
161
|
self._index = 0
|
|
152
162
|
|
|
153
163
|
def _get_next_page(self) -> None:
|
|
154
|
-
if
|
|
164
|
+
if self._state is None:
|
|
155
165
|
# First request
|
|
156
|
-
response = cast(
|
|
157
|
-
Response[Any],
|
|
158
|
-
self.request(*self.args, **self.kwargs),
|
|
159
|
-
)
|
|
160
|
-
self._initialized = True
|
|
161
|
-
self._request_method = response.raw_request.method
|
|
166
|
+
response = cast(Response[Any], self.request(*self.args, **self.kwargs))
|
|
162
167
|
else:
|
|
163
|
-
# Next request
|
|
164
|
-
if self._next_link is None:
|
|
165
|
-
raise RuntimeError("Paginator is finalized, no more pages to fetch.")
|
|
166
|
-
if self._request_method is None:
|
|
167
|
-
raise RuntimeError("Request method is not set, this should not happen.")
|
|
168
|
-
if self._response_model is None:
|
|
169
|
-
raise RuntimeError("Response model is not set, this should not happen.")
|
|
170
|
-
|
|
171
168
|
# we request the next page with the same method and response model
|
|
169
|
+
if self._state["next_link"] is None:
|
|
170
|
+
raise RuntimeError("No next page to request")
|
|
171
|
+
|
|
172
172
|
response = cast(
|
|
173
173
|
Response[Any],
|
|
174
174
|
self.rest._github.request(
|
|
175
|
-
self.
|
|
176
|
-
self.
|
|
177
|
-
headers=self.
|
|
178
|
-
response_model=self.
|
|
175
|
+
self._state["request_method"],
|
|
176
|
+
self._state["next_link"],
|
|
177
|
+
headers=self._headers, # type: ignore
|
|
178
|
+
response_model=self._state["response_model"], # type: ignore
|
|
179
179
|
),
|
|
180
180
|
)
|
|
181
181
|
|
|
182
|
-
self.
|
|
182
|
+
self._state = PaginatorState(
|
|
183
|
+
next_link=self._find_next_link(response),
|
|
184
|
+
request_method=response.raw_request.method,
|
|
185
|
+
response_model=response._data_model,
|
|
186
|
+
)
|
|
183
187
|
self._fill_cache_data(self._apply_map_func(response))
|
|
184
188
|
|
|
185
189
|
async def _aget_next_page(self) -> None:
|
|
186
|
-
if
|
|
190
|
+
if self._state is None:
|
|
187
191
|
# First request
|
|
188
192
|
response = cast(
|
|
189
193
|
Response[Any],
|
|
190
194
|
await self.request(*self.args, **self.kwargs), # type: ignore
|
|
191
195
|
)
|
|
192
|
-
self._initialized = True
|
|
193
|
-
self._request_method = response.raw_request.method
|
|
194
196
|
else:
|
|
195
|
-
#
|
|
196
|
-
if self.
|
|
197
|
-
raise RuntimeError("
|
|
198
|
-
if self._request_method is None:
|
|
199
|
-
raise RuntimeError("Request method is not set, this should not happen.")
|
|
200
|
-
if self._response_model is None:
|
|
201
|
-
raise RuntimeError("Response model is not set, this should not happen.")
|
|
197
|
+
# we request the next page with the same method and response model
|
|
198
|
+
if self._state["next_link"] is None:
|
|
199
|
+
raise RuntimeError("No next page to request")
|
|
202
200
|
|
|
203
201
|
response = cast(
|
|
204
202
|
Response[Any],
|
|
205
|
-
await self.rest._github.
|
|
206
|
-
self.
|
|
207
|
-
self.
|
|
208
|
-
headers=self.
|
|
209
|
-
response_model=self.
|
|
203
|
+
await self.rest._github.arequest(
|
|
204
|
+
self._state["request_method"],
|
|
205
|
+
self._state["next_link"],
|
|
206
|
+
headers=self._headers, # type: ignore
|
|
207
|
+
response_model=self._state["response_model"], # type: ignore
|
|
210
208
|
),
|
|
211
209
|
)
|
|
212
210
|
|
|
213
|
-
self.
|
|
211
|
+
self._state = PaginatorState(
|
|
212
|
+
next_link=self._find_next_link(response),
|
|
213
|
+
request_method=response.raw_request.method,
|
|
214
|
+
response_model=response._data_model,
|
|
215
|
+
)
|
|
214
216
|
self._fill_cache_data(self._apply_map_func(response))
|
|
@@ -822,8 +822,6 @@ class ChecksClient:
|
|
|
822
822
|
|
|
823
823
|
For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".
|
|
824
824
|
|
|
825
|
-
OAuth apps and personal access tokens (classic) cannot use this endpoint.
|
|
826
|
-
|
|
827
825
|
See also: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run
|
|
828
826
|
"""
|
|
829
827
|
|
|
@@ -861,8 +859,6 @@ class ChecksClient:
|
|
|
861
859
|
|
|
862
860
|
For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".
|
|
863
861
|
|
|
864
|
-
OAuth apps and personal access tokens (classic) cannot use this endpoint.
|
|
865
|
-
|
|
866
862
|
See also: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run
|
|
867
863
|
"""
|
|
868
864
|
|
|
@@ -1354,8 +1350,6 @@ class ChecksClient:
|
|
|
1354
1350
|
|
|
1355
1351
|
Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
|
|
1356
1352
|
|
|
1357
|
-
OAuth apps and personal access tokens (classic) cannot use this endpoint.
|
|
1358
|
-
|
|
1359
1353
|
See also: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite
|
|
1360
1354
|
"""
|
|
1361
1355
|
|
|
@@ -1386,8 +1380,6 @@ class ChecksClient:
|
|
|
1386
1380
|
|
|
1387
1381
|
Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
|
|
1388
1382
|
|
|
1389
|
-
OAuth apps and personal access tokens (classic) cannot use this endpoint.
|
|
1390
|
-
|
|
1391
1383
|
See also: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite
|
|
1392
1384
|
"""
|
|
1393
1385
|
|
|
@@ -20,7 +20,7 @@ from githubkit.typing import Missing, UnsetType
|
|
|
20
20
|
from githubkit.utils import UNSET, exclude_unset
|
|
21
21
|
|
|
22
22
|
if TYPE_CHECKING:
|
|
23
|
-
from typing import Literal
|
|
23
|
+
from typing import Literal, Union
|
|
24
24
|
|
|
25
25
|
from githubkit import GitHubCore
|
|
26
26
|
from githubkit.response import Response
|
|
@@ -79,6 +79,7 @@ class DependabotClient:
|
|
|
79
79
|
ecosystem: Missing[str] = UNSET,
|
|
80
80
|
package: Missing[str] = UNSET,
|
|
81
81
|
epss_percentage: Missing[str] = UNSET,
|
|
82
|
+
has: Missing[Union[str, list[Literal["patch"]]]] = UNSET,
|
|
82
83
|
scope: Missing[Literal["development", "runtime"]] = UNSET,
|
|
83
84
|
sort: Missing[Literal["created", "updated", "epss_percentage"]] = UNSET,
|
|
84
85
|
direction: Missing[Literal["asc", "desc"]] = UNSET,
|
|
@@ -120,6 +121,7 @@ class DependabotClient:
|
|
|
120
121
|
"ecosystem": ecosystem,
|
|
121
122
|
"package": package,
|
|
122
123
|
"epss_percentage": epss_percentage,
|
|
124
|
+
"has": has,
|
|
123
125
|
"scope": scope,
|
|
124
126
|
"sort": sort,
|
|
125
127
|
"direction": direction,
|
|
@@ -154,6 +156,7 @@ class DependabotClient:
|
|
|
154
156
|
ecosystem: Missing[str] = UNSET,
|
|
155
157
|
package: Missing[str] = UNSET,
|
|
156
158
|
epss_percentage: Missing[str] = UNSET,
|
|
159
|
+
has: Missing[Union[str, list[Literal["patch"]]]] = UNSET,
|
|
157
160
|
scope: Missing[Literal["development", "runtime"]] = UNSET,
|
|
158
161
|
sort: Missing[Literal["created", "updated", "epss_percentage"]] = UNSET,
|
|
159
162
|
direction: Missing[Literal["asc", "desc"]] = UNSET,
|
|
@@ -195,6 +198,7 @@ class DependabotClient:
|
|
|
195
198
|
"ecosystem": ecosystem,
|
|
196
199
|
"package": package,
|
|
197
200
|
"epss_percentage": epss_percentage,
|
|
201
|
+
"has": has,
|
|
198
202
|
"scope": scope,
|
|
199
203
|
"sort": sort,
|
|
200
204
|
"direction": direction,
|
|
@@ -229,6 +233,7 @@ class DependabotClient:
|
|
|
229
233
|
ecosystem: Missing[str] = UNSET,
|
|
230
234
|
package: Missing[str] = UNSET,
|
|
231
235
|
epss_percentage: Missing[str] = UNSET,
|
|
236
|
+
has: Missing[Union[str, list[Literal["patch"]]]] = UNSET,
|
|
232
237
|
scope: Missing[Literal["development", "runtime"]] = UNSET,
|
|
233
238
|
sort: Missing[Literal["created", "updated", "epss_percentage"]] = UNSET,
|
|
234
239
|
direction: Missing[Literal["asc", "desc"]] = UNSET,
|
|
@@ -268,6 +273,7 @@ class DependabotClient:
|
|
|
268
273
|
"ecosystem": ecosystem,
|
|
269
274
|
"package": package,
|
|
270
275
|
"epss_percentage": epss_percentage,
|
|
276
|
+
"has": has,
|
|
271
277
|
"scope": scope,
|
|
272
278
|
"sort": sort,
|
|
273
279
|
"direction": direction,
|
|
@@ -303,6 +309,7 @@ class DependabotClient:
|
|
|
303
309
|
ecosystem: Missing[str] = UNSET,
|
|
304
310
|
package: Missing[str] = UNSET,
|
|
305
311
|
epss_percentage: Missing[str] = UNSET,
|
|
312
|
+
has: Missing[Union[str, list[Literal["patch"]]]] = UNSET,
|
|
306
313
|
scope: Missing[Literal["development", "runtime"]] = UNSET,
|
|
307
314
|
sort: Missing[Literal["created", "updated", "epss_percentage"]] = UNSET,
|
|
308
315
|
direction: Missing[Literal["asc", "desc"]] = UNSET,
|
|
@@ -342,6 +349,7 @@ class DependabotClient:
|
|
|
342
349
|
"ecosystem": ecosystem,
|
|
343
350
|
"package": package,
|
|
344
351
|
"epss_percentage": epss_percentage,
|
|
352
|
+
"has": has,
|
|
345
353
|
"scope": scope,
|
|
346
354
|
"sort": sort,
|
|
347
355
|
"direction": direction,
|
|
@@ -1143,6 +1151,7 @@ class DependabotClient:
|
|
|
1143
1151
|
package: Missing[str] = UNSET,
|
|
1144
1152
|
manifest: Missing[str] = UNSET,
|
|
1145
1153
|
epss_percentage: Missing[str] = UNSET,
|
|
1154
|
+
has: Missing[Union[str, list[Literal["patch"]]]] = UNSET,
|
|
1146
1155
|
scope: Missing[Literal["development", "runtime"]] = UNSET,
|
|
1147
1156
|
sort: Missing[Literal["created", "updated", "epss_percentage"]] = UNSET,
|
|
1148
1157
|
direction: Missing[Literal["asc", "desc"]] = UNSET,
|
|
@@ -1174,6 +1183,7 @@ class DependabotClient:
|
|
|
1174
1183
|
"package": package,
|
|
1175
1184
|
"manifest": manifest,
|
|
1176
1185
|
"epss_percentage": epss_percentage,
|
|
1186
|
+
"has": has,
|
|
1177
1187
|
"scope": scope,
|
|
1178
1188
|
"sort": sort,
|
|
1179
1189
|
"direction": direction,
|
|
@@ -1212,6 +1222,7 @@ class DependabotClient:
|
|
|
1212
1222
|
package: Missing[str] = UNSET,
|
|
1213
1223
|
manifest: Missing[str] = UNSET,
|
|
1214
1224
|
epss_percentage: Missing[str] = UNSET,
|
|
1225
|
+
has: Missing[Union[str, list[Literal["patch"]]]] = UNSET,
|
|
1215
1226
|
scope: Missing[Literal["development", "runtime"]] = UNSET,
|
|
1216
1227
|
sort: Missing[Literal["created", "updated", "epss_percentage"]] = UNSET,
|
|
1217
1228
|
direction: Missing[Literal["asc", "desc"]] = UNSET,
|
|
@@ -1243,6 +1254,7 @@ class DependabotClient:
|
|
|
1243
1254
|
"package": package,
|
|
1244
1255
|
"manifest": manifest,
|
|
1245
1256
|
"epss_percentage": epss_percentage,
|
|
1257
|
+
"has": has,
|
|
1246
1258
|
"scope": scope,
|
|
1247
1259
|
"sort": sort,
|
|
1248
1260
|
"direction": direction,
|
|
@@ -822,8 +822,6 @@ class ChecksClient:
|
|
|
822
822
|
|
|
823
823
|
For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".
|
|
824
824
|
|
|
825
|
-
OAuth apps and personal access tokens (classic) cannot use this endpoint.
|
|
826
|
-
|
|
827
825
|
See also: https://docs.github.com/rest/checks/runs#rerequest-a-check-run
|
|
828
826
|
"""
|
|
829
827
|
|
|
@@ -861,8 +859,6 @@ class ChecksClient:
|
|
|
861
859
|
|
|
862
860
|
For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".
|
|
863
861
|
|
|
864
|
-
OAuth apps and personal access tokens (classic) cannot use this endpoint.
|
|
865
|
-
|
|
866
862
|
See also: https://docs.github.com/rest/checks/runs#rerequest-a-check-run
|
|
867
863
|
"""
|
|
868
864
|
|
|
@@ -1354,8 +1350,6 @@ class ChecksClient:
|
|
|
1354
1350
|
|
|
1355
1351
|
Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
|
|
1356
1352
|
|
|
1357
|
-
OAuth apps and personal access tokens (classic) cannot use this endpoint.
|
|
1358
|
-
|
|
1359
1353
|
See also: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite
|
|
1360
1354
|
"""
|
|
1361
1355
|
|
|
@@ -1386,8 +1380,6 @@ class ChecksClient:
|
|
|
1386
1380
|
|
|
1387
1381
|
Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
|
|
1388
1382
|
|
|
1389
|
-
OAuth apps and personal access tokens (classic) cannot use this endpoint.
|
|
1390
|
-
|
|
1391
1383
|
See also: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite
|
|
1392
1384
|
"""
|
|
1393
1385
|
|
|
@@ -20,7 +20,7 @@ from githubkit.typing import Missing, UnsetType
|
|
|
20
20
|
from githubkit.utils import UNSET, exclude_unset
|
|
21
21
|
|
|
22
22
|
if TYPE_CHECKING:
|
|
23
|
-
from typing import Literal
|
|
23
|
+
from typing import Literal, Union
|
|
24
24
|
|
|
25
25
|
from githubkit import GitHubCore
|
|
26
26
|
from githubkit.response import Response
|
|
@@ -79,6 +79,7 @@ class DependabotClient:
|
|
|
79
79
|
ecosystem: Missing[str] = UNSET,
|
|
80
80
|
package: Missing[str] = UNSET,
|
|
81
81
|
epss_percentage: Missing[str] = UNSET,
|
|
82
|
+
has: Missing[Union[str, list[Literal["patch"]]]] = UNSET,
|
|
82
83
|
scope: Missing[Literal["development", "runtime"]] = UNSET,
|
|
83
84
|
sort: Missing[Literal["created", "updated", "epss_percentage"]] = UNSET,
|
|
84
85
|
direction: Missing[Literal["asc", "desc"]] = UNSET,
|
|
@@ -120,6 +121,7 @@ class DependabotClient:
|
|
|
120
121
|
"ecosystem": ecosystem,
|
|
121
122
|
"package": package,
|
|
122
123
|
"epss_percentage": epss_percentage,
|
|
124
|
+
"has": has,
|
|
123
125
|
"scope": scope,
|
|
124
126
|
"sort": sort,
|
|
125
127
|
"direction": direction,
|
|
@@ -154,6 +156,7 @@ class DependabotClient:
|
|
|
154
156
|
ecosystem: Missing[str] = UNSET,
|
|
155
157
|
package: Missing[str] = UNSET,
|
|
156
158
|
epss_percentage: Missing[str] = UNSET,
|
|
159
|
+
has: Missing[Union[str, list[Literal["patch"]]]] = UNSET,
|
|
157
160
|
scope: Missing[Literal["development", "runtime"]] = UNSET,
|
|
158
161
|
sort: Missing[Literal["created", "updated", "epss_percentage"]] = UNSET,
|
|
159
162
|
direction: Missing[Literal["asc", "desc"]] = UNSET,
|
|
@@ -195,6 +198,7 @@ class DependabotClient:
|
|
|
195
198
|
"ecosystem": ecosystem,
|
|
196
199
|
"package": package,
|
|
197
200
|
"epss_percentage": epss_percentage,
|
|
201
|
+
"has": has,
|
|
198
202
|
"scope": scope,
|
|
199
203
|
"sort": sort,
|
|
200
204
|
"direction": direction,
|
|
@@ -229,6 +233,7 @@ class DependabotClient:
|
|
|
229
233
|
ecosystem: Missing[str] = UNSET,
|
|
230
234
|
package: Missing[str] = UNSET,
|
|
231
235
|
epss_percentage: Missing[str] = UNSET,
|
|
236
|
+
has: Missing[Union[str, list[Literal["patch"]]]] = UNSET,
|
|
232
237
|
scope: Missing[Literal["development", "runtime"]] = UNSET,
|
|
233
238
|
sort: Missing[Literal["created", "updated", "epss_percentage"]] = UNSET,
|
|
234
239
|
direction: Missing[Literal["asc", "desc"]] = UNSET,
|
|
@@ -268,6 +273,7 @@ class DependabotClient:
|
|
|
268
273
|
"ecosystem": ecosystem,
|
|
269
274
|
"package": package,
|
|
270
275
|
"epss_percentage": epss_percentage,
|
|
276
|
+
"has": has,
|
|
271
277
|
"scope": scope,
|
|
272
278
|
"sort": sort,
|
|
273
279
|
"direction": direction,
|
|
@@ -303,6 +309,7 @@ class DependabotClient:
|
|
|
303
309
|
ecosystem: Missing[str] = UNSET,
|
|
304
310
|
package: Missing[str] = UNSET,
|
|
305
311
|
epss_percentage: Missing[str] = UNSET,
|
|
312
|
+
has: Missing[Union[str, list[Literal["patch"]]]] = UNSET,
|
|
306
313
|
scope: Missing[Literal["development", "runtime"]] = UNSET,
|
|
307
314
|
sort: Missing[Literal["created", "updated", "epss_percentage"]] = UNSET,
|
|
308
315
|
direction: Missing[Literal["asc", "desc"]] = UNSET,
|
|
@@ -342,6 +349,7 @@ class DependabotClient:
|
|
|
342
349
|
"ecosystem": ecosystem,
|
|
343
350
|
"package": package,
|
|
344
351
|
"epss_percentage": epss_percentage,
|
|
352
|
+
"has": has,
|
|
345
353
|
"scope": scope,
|
|
346
354
|
"sort": sort,
|
|
347
355
|
"direction": direction,
|
|
@@ -1143,6 +1151,7 @@ class DependabotClient:
|
|
|
1143
1151
|
package: Missing[str] = UNSET,
|
|
1144
1152
|
manifest: Missing[str] = UNSET,
|
|
1145
1153
|
epss_percentage: Missing[str] = UNSET,
|
|
1154
|
+
has: Missing[Union[str, list[Literal["patch"]]]] = UNSET,
|
|
1146
1155
|
scope: Missing[Literal["development", "runtime"]] = UNSET,
|
|
1147
1156
|
sort: Missing[Literal["created", "updated", "epss_percentage"]] = UNSET,
|
|
1148
1157
|
direction: Missing[Literal["asc", "desc"]] = UNSET,
|
|
@@ -1174,6 +1183,7 @@ class DependabotClient:
|
|
|
1174
1183
|
"package": package,
|
|
1175
1184
|
"manifest": manifest,
|
|
1176
1185
|
"epss_percentage": epss_percentage,
|
|
1186
|
+
"has": has,
|
|
1177
1187
|
"scope": scope,
|
|
1178
1188
|
"sort": sort,
|
|
1179
1189
|
"direction": direction,
|
|
@@ -1212,6 +1222,7 @@ class DependabotClient:
|
|
|
1212
1222
|
package: Missing[str] = UNSET,
|
|
1213
1223
|
manifest: Missing[str] = UNSET,
|
|
1214
1224
|
epss_percentage: Missing[str] = UNSET,
|
|
1225
|
+
has: Missing[Union[str, list[Literal["patch"]]]] = UNSET,
|
|
1215
1226
|
scope: Missing[Literal["development", "runtime"]] = UNSET,
|
|
1216
1227
|
sort: Missing[Literal["created", "updated", "epss_percentage"]] = UNSET,
|
|
1217
1228
|
direction: Missing[Literal["asc", "desc"]] = UNSET,
|
|
@@ -1243,6 +1254,7 @@ class DependabotClient:
|
|
|
1243
1254
|
"package": package,
|
|
1244
1255
|
"manifest": manifest,
|
|
1245
1256
|
"epss_percentage": epss_percentage,
|
|
1257
|
+
"has": has,
|
|
1246
1258
|
"scope": scope,
|
|
1247
1259
|
"sort": sort,
|
|
1248
1260
|
"direction": direction,
|
|
@@ -25,7 +25,7 @@ githubkit/paginator.py,sha256=zfuayQvXX-2C-cRRObT-rllwRjsUqJbA1AVFa-HW4Ac,3806
|
|
|
25
25
|
githubkit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
26
26
|
githubkit/response.py,sha256=JfSrg9RLDEjCytBWSkBKCaKgb5EOet4ywxwt4FzYiBU,2332
|
|
27
27
|
githubkit/rest/__init__.py,sha256=E-uinNaPyPHdynpHcaXN6lI1AUU-0omty5IKyfv91Xk,791387
|
|
28
|
-
githubkit/rest/paginator.py,sha256=
|
|
28
|
+
githubkit/rest/paginator.py,sha256=ZUrPmS_s2LdAlRL8SC9LQstfEcmi6UfN3qRZnER_-wA,6764
|
|
29
29
|
githubkit/retry.py,sha256=priynVVm1EX8Mm4-GFdkdd0bc-GnSFWAKyO0bBMQZC4,2634
|
|
30
30
|
githubkit/throttling.py,sha256=uKxZ3P570EtHUc9K8PP_5mk5_XWWJF9E7OpxdiV24p4,2089
|
|
31
31
|
githubkit/typing.py,sha256=N5u2bG-w3mBEhTj2LTQ-mTDWgUatDhtZ7KxmQXjNqBI,2504
|
|
@@ -1342,14 +1342,14 @@ githubkit/versions/ghec_v2022_11_28/rest/activity.py,sha256=3m5ga2dBZ4QXkT-mL64J
|
|
|
1342
1342
|
githubkit/versions/ghec_v2022_11_28/rest/apps.py,sha256=-SMRDb7l1xT2paaVsD8NtM51BIHy144X_GRVGPllHpo,121402
|
|
1343
1343
|
githubkit/versions/ghec_v2022_11_28/rest/billing.py,sha256=RWhF039c_xnkctSSCyR1EUDQdbyS714IZEgklE790Do,61247
|
|
1344
1344
|
githubkit/versions/ghec_v2022_11_28/rest/campaigns.py,sha256=GOWyfn6gBdVrBdEBJFL8W4VDzULp_-_vida4rYViSiE,21908
|
|
1345
|
-
githubkit/versions/ghec_v2022_11_28/rest/checks.py,sha256=
|
|
1345
|
+
githubkit/versions/ghec_v2022_11_28/rest/checks.py,sha256=fORRpuis0jRtIyb0Edtl0bpl6dXXX3yFlAJJAQ69YCI,58556
|
|
1346
1346
|
githubkit/versions/ghec_v2022_11_28/rest/classroom.py,sha256=3a7lm5WYtTxWTTVIExCd2TTS2r0lhROMDX02-tQXmrs,15157
|
|
1347
1347
|
githubkit/versions/ghec_v2022_11_28/rest/code_scanning.py,sha256=6T1sXlfGnS5C6r9Coi6njDlSfMvbDe_xsCYG7fFrrjs,120860
|
|
1348
1348
|
githubkit/versions/ghec_v2022_11_28/rest/code_security.py,sha256=Aujz_smsX_g9rCZkc7sqqQyflev0tByx_AlRNf_VIAQ,109847
|
|
1349
1349
|
githubkit/versions/ghec_v2022_11_28/rest/codes_of_conduct.py,sha256=2lMlR_6XOscqe6t36NVWzSfuQew-YGMhQQrU-155k2g,4463
|
|
1350
1350
|
githubkit/versions/ghec_v2022_11_28/rest/codespaces.py,sha256=qbPXxtZKx4zvGFmRxyCBauuwWMwergmeHwgqQWDc8K8,173587
|
|
1351
1351
|
githubkit/versions/ghec_v2022_11_28/rest/copilot.py,sha256=klQJp5epl8A7ewNf0J03WgP6r4hUhVOfCc-R37Kh1jI,73500
|
|
1352
|
-
githubkit/versions/ghec_v2022_11_28/rest/dependabot.py,sha256=
|
|
1352
|
+
githubkit/versions/ghec_v2022_11_28/rest/dependabot.py,sha256=PCEad2zng42A3zd5q2ey6M0rVBTordQdvWSTO2XXQn4,69344
|
|
1353
1353
|
githubkit/versions/ghec_v2022_11_28/rest/dependency_graph.py,sha256=oAC-bLLbRpkBxQEZc_nl07hOY0zvMbUzhPYt3yTVccQ,12096
|
|
1354
1354
|
githubkit/versions/ghec_v2022_11_28/rest/emojis.py,sha256=bOfKBg0JIusgC8qNhH6peyI3IUPeUh9vWeo9lIYFIao,2486
|
|
1355
1355
|
githubkit/versions/ghec_v2022_11_28/rest/enterprise_admin.py,sha256=BYjpfgSWpznvciDA2N_Ok5qpv7DfoREM5eg_z5GcAo0,273276
|
|
@@ -3969,14 +3969,14 @@ githubkit/versions/v2022_11_28/rest/activity.py,sha256=p9XhEfqLUk1riD8OlnWYjpwdd
|
|
|
3969
3969
|
githubkit/versions/v2022_11_28/rest/apps.py,sha256=rqSpWJg_cGHuBgcmkIvpB9Rs0dNhHkWzMCWfvE2fc2g,117900
|
|
3970
3970
|
githubkit/versions/v2022_11_28/rest/billing.py,sha256=90LhXattTy5HWNfvcSETD2R5yv0JEX5Z-wyKPIdJxjc,21736
|
|
3971
3971
|
githubkit/versions/v2022_11_28/rest/campaigns.py,sha256=EAfhVpluG1LkbxrP1szmjmRM1KhQpPd2YCLHp9v-TQs,21698
|
|
3972
|
-
githubkit/versions/v2022_11_28/rest/checks.py,sha256=
|
|
3972
|
+
githubkit/versions/v2022_11_28/rest/checks.py,sha256=mcM3l7nkh9J2fenBuu_j9U_Qo924yN7-cU4xETwddME,57456
|
|
3973
3973
|
githubkit/versions/v2022_11_28/rest/classroom.py,sha256=7ynRkVcNO_HMjfpHk_8H31qXc11MPtierRTf9SHkdyg,14857
|
|
3974
3974
|
githubkit/versions/v2022_11_28/rest/code_scanning.py,sha256=LBn3DsAnOTaGJSRw4CdCObpK358-kS3y5RjMr9cLvaU,114217
|
|
3975
3975
|
githubkit/versions/v2022_11_28/rest/code_security.py,sha256=tvpBTbbX74JSc5i7nh9KXR8vaqmuT9AtlMLZMCJmE44,108847
|
|
3976
3976
|
githubkit/versions/v2022_11_28/rest/codes_of_conduct.py,sha256=i37EML2mU6DVkN-2uMkSJFuzcvfb_iRPJZMb9XSygQg,4363
|
|
3977
3977
|
githubkit/versions/v2022_11_28/rest/codespaces.py,sha256=YpdtF9oWIeY_CIBusINv3CQ8Oo9zoqAx8hqjqyEQ4bk,170819
|
|
3978
3978
|
githubkit/versions/v2022_11_28/rest/copilot.py,sha256=UjIBYLCg3ypu3JN0EZmowMy50h4vWOEg1i4bXhATFRU,56185
|
|
3979
|
-
githubkit/versions/v2022_11_28/rest/dependabot.py,sha256=
|
|
3979
|
+
githubkit/versions/v2022_11_28/rest/dependabot.py,sha256=2nPG4wdKSTk3Wmha2QuvvH5x8IGhK_DBuTKNd-p4oDc,68044
|
|
3980
3980
|
githubkit/versions/v2022_11_28/rest/dependency_graph.py,sha256=wCt6hbVIsdndHwqnn_G1SR4Ulr3jnSfjEXk7j4J2tfY,11946
|
|
3981
3981
|
githubkit/versions/v2022_11_28/rest/emojis.py,sha256=NPOpck5WtBRrl4XRHqukjlZQLCrt52Du09F1umOUHFw,2402
|
|
3982
3982
|
githubkit/versions/v2022_11_28/rest/gists.py,sha256=7dRccN9IPx-aAyGmBPKFfGPuj5b-wdumxAYyHqP4qo0,55239
|
|
@@ -5275,7 +5275,7 @@ githubkit/versions/v2022_11_28/webhooks/workflow_job.py,sha256=OqbBp1FJTKGrYcToG
|
|
|
5275
5275
|
githubkit/versions/v2022_11_28/webhooks/workflow_run.py,sha256=4KudCBilrMQMy4adDoDPl8MajkCMEFHYJTJT7U59Hbg,1040
|
|
5276
5276
|
githubkit/versions/webhooks.py,sha256=WWdXh8JPdNX3Ohz7M_pxoMBb3Hh101BrmvTyawniuj0,1820
|
|
5277
5277
|
githubkit/webhooks/__init__.py,sha256=nysPfT_VIiTS1VBw3-1NJ-1-MZiDUllNL1slNuYo5dc,386
|
|
5278
|
-
githubkit-0.12.
|
|
5279
|
-
githubkit-0.12.
|
|
5280
|
-
githubkit-0.12.
|
|
5281
|
-
githubkit-0.12.
|
|
5278
|
+
githubkit-0.12.12.dist-info/LICENSE,sha256=UEHBN69sLTXotNNzfRixnjtFlFw7GKq0agUkR06lnUA,1066
|
|
5279
|
+
githubkit-0.12.12.dist-info/METADATA,sha256=PDacugajpSvDU_9825ZI9upe5I6dS0gYaWy1ya9CGH0,5171
|
|
5280
|
+
githubkit-0.12.12.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
5281
|
+
githubkit-0.12.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|