22
33from __future__ import annotations
44
5- from typing import List
5+ from typing import List , Union , Iterable
6+ from datetime import datetime
67from typing_extensions import Literal
78
89import httpx
@@ -93,8 +94,11 @@ def create(
9394 def list (
9495 self ,
9596 * ,
97+ created_from : Union [str , datetime ] | Omit = omit ,
98+ created_to : Union [str , datetime ] | Omit = omit ,
9699 limit : int | Omit = omit ,
97100 offset : int | Omit = omit ,
101+ request_ids : Iterable [int ] | Omit = omit ,
98102 status : List [Literal ["done" , "in progress" , "rejected" ]] | Omit = omit ,
99103 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
100104 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -107,11 +111,17 @@ def list(
107111 Get a list of sent requests to change current quotas and their statuses.
108112
109113 Args:
114+ created_from: Filter limit requests created at or after this datetime (inclusive)
115+
116+ created_to: Filter limit requests created at or before this datetime (inclusive)
117+
110118 limit: Optional. Limit the number of returned items
111119
112120 offset: Optional. Offset value is used to exclude the first set of records from the
113121 result
114122
123+ request_ids: List of limit request IDs for filtering
124+
115125 status: List of limit requests statuses for filtering
116126
117127 extra_headers: Send extra headers
@@ -132,8 +142,11 @@ def list(
132142 timeout = timeout ,
133143 query = maybe_transform (
134144 {
145+ "created_from" : created_from ,
146+ "created_to" : created_to ,
135147 "limit" : limit ,
136148 "offset" : offset ,
149+ "request_ids" : request_ids ,
137150 "status" : status ,
138151 },
139152 request_list_params .RequestListParams ,
@@ -277,8 +290,11 @@ async def create(
277290 def list (
278291 self ,
279292 * ,
293+ created_from : Union [str , datetime ] | Omit = omit ,
294+ created_to : Union [str , datetime ] | Omit = omit ,
280295 limit : int | Omit = omit ,
281296 offset : int | Omit = omit ,
297+ request_ids : Iterable [int ] | Omit = omit ,
282298 status : List [Literal ["done" , "in progress" , "rejected" ]] | Omit = omit ,
283299 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
284300 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -291,11 +307,17 @@ def list(
291307 Get a list of sent requests to change current quotas and their statuses.
292308
293309 Args:
310+ created_from: Filter limit requests created at or after this datetime (inclusive)
311+
312+ created_to: Filter limit requests created at or before this datetime (inclusive)
313+
294314 limit: Optional. Limit the number of returned items
295315
296316 offset: Optional. Offset value is used to exclude the first set of records from the
297317 result
298318
319+ request_ids: List of limit request IDs for filtering
320+
299321 status: List of limit requests statuses for filtering
300322
301323 extra_headers: Send extra headers
@@ -316,8 +338,11 @@ def list(
316338 timeout = timeout ,
317339 query = maybe_transform (
318340 {
341+ "created_from" : created_from ,
342+ "created_to" : created_to ,
319343 "limit" : limit ,
320344 "offset" : offset ,
345+ "request_ids" : request_ids ,
321346 "status" : status ,
322347 },
323348 request_list_params .RequestListParams ,
0 commit comments