Skip to content

Commit cceeda2

Browse files
committed
doc: updated docstring to mention the absense of limit
1 parent 0bf40e4 commit cceeda2

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

resend/audiences/_audiences.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def list(cls, params: Optional[ListParams] = None) -> ListResponse:
130130
131131
Args:
132132
params (Optional[ListParams]): Optional pagination parameters
133-
- limit: Number of audiences to retrieve (max 100, min 1)
133+
- limit: Number of audiences to retrieve (max 100, min 1). If not provided, all audiences will be returned without pagination.
134134
- after: ID after which to retrieve more audiences
135135
- before: ID before which to retrieve more audiences
136136

resend/broadcasts/_broadcasts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def list(cls, params: Optional[ListParams] = None) -> ListResponse:
290290
291291
Args:
292292
params (Optional[ListParams]): Optional pagination parameters
293-
- limit: Number of broadcasts to retrieve (max 100, min 1)
293+
- limit: Number of broadcasts to retrieve (max 100, min 1). If not provided, all broadcasts will be returned without pagination.
294294
- after: ID after which to retrieve more broadcasts
295295
- before: ID before which to retrieve more broadcasts
296296

resend/contacts/_contacts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def list(
211211
Args:
212212
audience_id (str): The audience ID
213213
params (Optional[ListParams]): Optional pagination parameters
214-
- limit: Number of contacts to retrieve (max 100, min 1)
214+
- limit: Number of contacts to retrieve (max 100, min 1). If not provided, all contacts will be returned without pagination.
215215
- after: ID after which to retrieve more contacts
216216
- before: ID before which to retrieve more contacts
217217

resend/domains/_domains.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def list(cls, params: Optional[ListParams] = None) -> ListResponse:
195195
196196
Args:
197197
params (Optional[ListParams]): Optional pagination parameters
198-
- limit: Number of domains to retrieve (max 100, min 1)
198+
- limit: Number of domains to retrieve (max 100, min 1). If not provided, all domains will be returned without pagination.
199199
- after: ID after which to retrieve more domains
200200
- before: ID before which to retrieve more domains
201201

0 commit comments

Comments
 (0)