lint(block_bridge): typing hints

This commit is contained in:
Iain Learmonth 2022-12-07 14:04:33 +00:00
parent f8581d8776
commit e28fcc6061

View file

@ -1,7 +1,7 @@
from datetime import datetime, timedelta from datetime import datetime, timedelta
import logging import logging
from abc import abstractmethod from abc import abstractmethod
from typing import Tuple, List, Callable, Optional from typing import Tuple, List, Callable, Optional, Any
from app.extensions import db from app.extensions import db
from app.models.activity import Activity from app.models.activity import Activity
@ -15,7 +15,7 @@ class BlockBridgeAutomation(BaseAutomation):
hashed_fingerprints: List[str] hashed_fingerprints: List[str]
patterns: List[str] patterns: List[str]
def __init__(self, *args, **kwargs) -> None: def __init__(self, *args: Any, **kwargs: Any) -> None:
""" """
Constructor method. Constructor method.
""" """