lint(block_bridge): typing hints
This commit is contained in:
parent
f8581d8776
commit
e28fcc6061
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue