mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-03 23:51:22 -04:00
Use the local APIClient rather than the one from the python-api-client
- ensures that all API calls set the request ID when talking to the API.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from notifications_python_client.notifications import BaseAPIClient
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
from app.notify_client import NotifyAdminAPIClient
|
||||
from app.notify_client.models import User
|
||||
|
||||
ALLOWED_ATTRIBUTES = {
|
||||
@@ -10,7 +10,7 @@ ALLOWED_ATTRIBUTES = {
|
||||
}
|
||||
|
||||
|
||||
class UserApiClient(BaseAPIClient):
|
||||
class UserApiClient(NotifyAdminAPIClient):
|
||||
def __init__(self):
|
||||
super().__init__("a", "b", "c")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user