Skip to content

Commit

Permalink
Add typehint.
Browse files Browse the repository at this point in the history
  • Loading branch information
koval committed Dec 2, 2024
1 parent 5803a76 commit a9fbcf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions huntflow_api_client/entities/webhooks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Optional
from typing import Any, Dict, Optional

from huntflow_api_client.entities.base import (
BaseEntity,
Expand Down Expand Up @@ -26,7 +26,7 @@ async def list(
:return: List of webhooks
"""
path = f"/accounts/{account_id}/hooks"
params = {}
params: Dict[str, Any] = {}
if webhook_type:
params["webhook_type"] = webhook_type.value
response = await self._api.request("GET", path, params=params)
Expand Down

0 comments on commit a9fbcf6

Please sign in to comment.