Skip to content

Commit

Permalink
Merge pull request #14 from FJEANNOT/patch-1
Browse files Browse the repository at this point in the history
fix: use dict type annotation
  • Loading branch information
ebraminio committed May 15, 2024
2 parents 375d597 + a4cb87b commit ef1066b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aiosseclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Optional,
AsyncGenerator,
Final,
Dict
)
import aiohttp

Expand Down Expand Up @@ -102,7 +103,7 @@ async def aiosseclient(
valid_http_codes: List[int] = [200, 301, 307],
exit_events: List[str] = [],
timeout_total: Optional[float] = None,
headers: Optional[dict[str, str]] = None,
headers: Optional[Dict[str, str]] = None,
) -> AsyncGenerator[Event, None]:
'''Canonical API of the library'''
if headers is None:
Expand Down

0 comments on commit ef1066b

Please sign in to comment.