-
Notifications
You must be signed in to change notification settings - Fork 285
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like.
The current get_transfers_for_account method handles pagination internally and always starts from offset 0, which doesn’t allow fetching a specific page (e.g., offset 20, limit 10) directly.
It would be helpful to have a method like:
def get_transfers_for_account2(
self,
account_id: Union[UUID, str],
transfers_filter: Optional[GetTransfersRequest] = None,
) -> List[Transfer]:
account_id = validate_uuid_id_param(account_id)
request_fields = transfers_filter.to_request_fields()
result = self.get(f"/accounts/{account_id}/transfers", request_fields)
return [Transfer.model_validate(item) for item in result]Describe an alternate solution.
No response
Anything else? (Additional Context)
No response
hiohiohio
Metadata
Metadata
Assignees
Labels
No labels