mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-26 08:09:51 -04:00
flake8 and isort
This commit is contained in:
@@ -108,6 +108,8 @@ def cancel_job(service_id, job_id):
|
||||
|
||||
# //this is the resource that gets updated by being passed to ajax via updates_url to data-resource
|
||||
# and everything that is within get_job_partials is the html that gets updated
|
||||
|
||||
|
||||
@main.route("/services/<uuid:service_id>/jobs/<uuid:job_id>.json")
|
||||
@user_has_permissions()
|
||||
def view_job_updates(service_id, job_id):
|
||||
|
||||
@@ -4,8 +4,10 @@ from zoneinfo import ZoneInfo
|
||||
from app.extensions import redis_client
|
||||
from app.notify_client import NotifyAdminAPIClient, _attach_current_user, cache
|
||||
from app.utils.csv import get_user_preferred_timezone
|
||||
|
||||
# from app.main.views.jobs import emit_job_update
|
||||
|
||||
|
||||
class JobApiClient(NotifyAdminAPIClient):
|
||||
JOB_STATUSES = {
|
||||
"scheduled",
|
||||
|
||||
Reference in New Issue
Block a user