Skip to content

Commit

Permalink
fix: isort linter issues!
Browse files Browse the repository at this point in the history
  • Loading branch information
amindadgar committed Jun 29, 2024
1 parent 1eb0355 commit d565495
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
ChatInputCommandInteraction,
)
from tc_messageBroker.rabbit_mq.queue import Queue

from utils.credentials import load_rabbitmq_credentials
from utils.fetch_community_id import fetch_community_id_by_guild_id
from worker.tasks import ask_question_auto_search
Expand Down
5 changes: 3 additions & 2 deletions utils/traceloop.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import logging
import os

from dotenv import load_dotenv
from traceloop.sdk import Traceloop
import os
import logging

load_dotenv()

Expand Down
1 change: 0 additions & 1 deletion worker/celery.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from celery import Celery

from utils.credentials import load_rabbitmq_credentials

rabbit_creds = load_rabbitmq_credentials()
Expand Down
3 changes: 1 addition & 2 deletions worker/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from typing import Any

from celery.signals import task_postrun, task_prerun
from subquery import query_multiple_source
from tc_messageBroker.rabbit_mq.event import Event
from tc_messageBroker.rabbit_mq.payload.discord_bot.base_types.interaction_callback_data import (
InteractionCallbackData,
Expand All @@ -13,8 +14,6 @@
)
from tc_messageBroker.rabbit_mq.payload.payload import Payload
from tc_messageBroker.rabbit_mq.queue import Queue

from subquery import query_multiple_source
from utils.data_source_selector import DataSourceSelector
from utils.traceloop import init_tracing
from worker.celery import app
Expand Down

0 comments on commit d565495

Please sign in to comment.