mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-27 05:41:00 -05:00
19 lines
410 B
Python
19 lines
410 B
Python
|
|
from app.notify_client import NotifyAdminAPIClient
|
||
|
|
|
||
|
|
|
||
|
|
class UploadApiClient(NotifyAdminAPIClient):
|
||
|
|
|
||
|
|
def get_letters_by_service_and_print_day(
|
||
|
|
self,
|
||
|
|
service_id,
|
||
|
|
*,
|
||
|
|
letter_print_day,
|
||
|
|
page=1,
|
||
|
|
):
|
||
|
|
return self.get(
|
||
|
|
url=f'/service/{service_id}/upload/uploaded-letters/{letter_print_day}?page={page}'
|
||
|
|
)
|
||
|
|
|
||
|
|
|
||
|
|
upload_api_client = UploadApiClient()
|