Convert min_confidence param to string to appease mypy

This commit is contained in:
Dato Simó 2024-08-31 20:13:39 -03:00
parent 6ec3783736
commit 80248d3c1d

View file

@ -86,7 +86,7 @@ class AbstractMinimalConnector(ABC):
),
"User-Agent": USER_AGENT,
}
params = {"min_confidence": min_confidence}
params = {"min_confidence": str(min_confidence)}
try:
async with session.get(url, headers=headers, params=params) as response:
if not response.ok: