Skip to content

Commit

Permalink
Fix linter errors, fix missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
catileptic committed Jun 4, 2024
1 parent d879e08 commit 411f8e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion servicelayer/metrics.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from prometheus_client import (
start_http_server,
Counter,
Histogram,
REGISTRY,
Expand Down
1 change: 1 addition & 0 deletions servicelayer/taskqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from timeit import default_timer

import pika.spec
from prometheus_client import start_http_server

from structlog.contextvars import clear_contextvars, bind_contextvars
import pika
Expand Down
2 changes: 2 additions & 0 deletions servicelayer/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
from banal import ensure_list
from abc import ABC, abstractmethod

from prometheus_client import start_http_server

from servicelayer import settings
from servicelayer.jobs import Stage
from servicelayer.cache import get_redis
Expand Down

0 comments on commit 411f8e2

Please sign in to comment.