mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-08 23:40:44 -04:00
notifications-python_client upgraded to 0.2.5
This commit is contained in:
@@ -3,7 +3,7 @@ from flask_login import login_required
|
||||
from app.main import main
|
||||
from app.main.dao.services_dao import get_service_by_id
|
||||
from app.main.dao import templates_dao
|
||||
from client.errors import HTTPError
|
||||
from notifications_python_client.errors import HTTPError
|
||||
from app import job_api_client
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ from flask import (
|
||||
abort
|
||||
)
|
||||
from flask_login import login_required
|
||||
from client.errors import HTTPError
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
from app import job_api_client
|
||||
from app.main import main
|
||||
|
||||
@@ -11,7 +11,7 @@ from flask import (
|
||||
|
||||
from flask.ext.login import current_user
|
||||
|
||||
from client.errors import HTTPError
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
from app.main import main
|
||||
from app.main.dao import users_dao
|
||||
|
||||
@@ -7,7 +7,7 @@ from app.main.dao.services_dao import (
|
||||
get_service_by_id, delete_service, update_service)
|
||||
from app.main.dao.users_dao import verify_password
|
||||
from app.main.forms import ConfirmPasswordForm, ServiceNameForm
|
||||
from client.errors import HTTPError
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
|
||||
@main.route("/services/<service_id>/service-settings")
|
||||
|
||||
@@ -17,7 +17,7 @@ from flask import (
|
||||
|
||||
from flask_login import login_required
|
||||
from werkzeug import secure_filename
|
||||
from client.errors import HTTPError
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
from app.main import main
|
||||
from app.main.forms import CsvUploadForm
|
||||
|
||||
@@ -7,7 +7,7 @@ from app import job_api_client
|
||||
from app.main.dao.services_dao import get_service_by_id
|
||||
from app.main.dao import templates_dao as tdao
|
||||
from app.main.dao import services_dao as sdao
|
||||
from client.errors import HTTPError
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
|
||||
@main.route("/services/<service_id>/templates")
|
||||
|
||||
@@ -6,7 +6,7 @@ from flask import (
|
||||
abort
|
||||
)
|
||||
|
||||
from client.errors import HTTPError
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
from flask_login import login_user
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from __future__ import unicode_literals
|
||||
from client.notifications import NotificationsAPIClient
|
||||
from notifications_python_client.notifications import NotificationsAPIClient
|
||||
|
||||
|
||||
class NotificationsAdminAPIClient(NotificationsAPIClient):
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from client.base import BaseAPIClient
|
||||
from notifications_python_client.base import BaseAPIClient
|
||||
|
||||
|
||||
class ApiKeyApiClient(BaseAPIClient):
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import uuid
|
||||
|
||||
from client.base import BaseAPIClient
|
||||
from notifications_python_client.base import BaseAPIClient
|
||||
|
||||
|
||||
class JobApiClient(BaseAPIClient):
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from client.base import BaseAPIClient
|
||||
from notifications_python_client.base import BaseAPIClient
|
||||
|
||||
|
||||
class StatusApiClient(BaseAPIClient):
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from client.notifications import BaseAPIClient
|
||||
from client.errors import (
|
||||
from notifications_python_client.notifications import BaseAPIClient
|
||||
from notifications_python_client.errors import (
|
||||
HTTPError,
|
||||
InvalidResponse
|
||||
)
|
||||
|
||||
@@ -12,6 +12,6 @@ credstash==1.8.0
|
||||
boto3==1.2.3
|
||||
Pygments==2.0.2
|
||||
|
||||
git+https://github.com/alphagov/notifications-python-client.git@0.2.2#egg=notifications-python-client==0.2.2
|
||||
git+https://github.com/alphagov/notifications-python-client.git@0.2.5#egg=notifications-python-client==0.2.5
|
||||
|
||||
git+https://github.com/alphagov/notifications-utils.git@0.0.3#egg=notifications-utils==0.0.3
|
||||
|
||||
Reference in New Issue
Block a user