Skip to content

Commit

Permalink
Precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbruinsslot committed Jan 15, 2025
1 parent d995b68 commit 3f0f3eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion octopoes/octopoes/events/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,4 @@ def _try_connect(self):
def _connect(self) -> None:
self.channel = self.channel_factory(self.queue_uri)
self.channel.queue_declare(queue=f"{self.client}__scan_profile_increments", durable=True)
self.channel.queue_declare(queue=f"scan_profile_mutations", durable=True)
self.channel.queue_declare(queue="scan_profile_mutations", durable=True)
13 changes: 7 additions & 6 deletions rocky/rocky/views/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
from django.contrib import messages
from django.http import Http404, JsonResponse
from django.utils.translation import gettext_lazy as _
from octopoes.models import OOI
from octopoes.models.ooi.reports import ReportRecipe

from katalogus.client import Boefje, Normalizer
from reports.forms import (
ChildReportNameForm,
Expand All @@ -16,10 +13,14 @@
ReportScheduleStartDateChoiceForm,
ReportScheduleStartDateForm,
)
from tools.forms.scheduler import TaskFilterForm

from octopoes.models import OOI
from octopoes.models.ooi.reports import ReportRecipe
from rocky.scheduler import Boefje as SchedulerBoefje
from rocky.scheduler import BoefjeTask, LazyTaskList
from rocky.scheduler import Normalizer as SchedulerNormalizer
from rocky.scheduler import (
BoefjeTask,
LazyTaskList,
NormalizerTask,
RawData,
ReportTask,
Expand All @@ -30,8 +31,8 @@
Task,
scheduler_client,
)
from rocky.scheduler import Normalizer as SchedulerNormalizer
from rocky.views.mixins import OctopoesView
from tools.forms.scheduler import TaskFilterForm


def get_date_time(date: str | None) -> datetime | None:
Expand Down

0 comments on commit 3f0f3eb

Please sign in to comment.