Skip to content

Commit

Permalink
Remove not used awaitable type return
Browse files Browse the repository at this point in the history
SDESK-7472
  • Loading branch information
eos87 committed Jan 18, 2025
1 parent 3f37101 commit 71df5d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/rules/rule_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
# AUTHORS and LICENSE files distributed with this source code, or
# at https://www.sourcefabric.org/superdesk/license

from typing import Dict, Any, Awaitable
import logging

from typing import Dict, Any
from quart_babel import lazy_gettext, LazyString

from superdesk.core import get_app_config
Expand All @@ -29,7 +29,7 @@ class RoutingRuleHandler:
supported_configs: Dict[str, bool]
default_values: Dict[str, Any]

async def can_handle(self, rule, ingest_item, routing_scheme) -> Awaitable[bool]:
async def can_handle(self, rule, ingest_item, routing_scheme) -> bool:
raise NotImplementedError()

async def apply_rule(self, rule, ingest_item, routing_scheme):
Expand Down

0 comments on commit 71df5d2

Please sign in to comment.