Move history geo enrichment into history service
This commit is contained in:
@@ -300,6 +300,7 @@ class HistoryService(Protocol):
|
||||
source: str = "fail2ban",
|
||||
page: int = 1,
|
||||
page_size: int = 100,
|
||||
http_session: aiohttp.ClientSession | None = None,
|
||||
geo_enricher: GeoEnricher | None = None,
|
||||
db: aiosqlite.Connection | None = None,
|
||||
) -> HistoryListResponse:
|
||||
@@ -310,6 +311,7 @@ class HistoryService(Protocol):
|
||||
socket_path: str,
|
||||
ip: str,
|
||||
*,
|
||||
http_session: aiohttp.ClientSession | None = None,
|
||||
geo_enricher: GeoEnricher | None = None,
|
||||
) -> IpDetailResponse | None:
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user