betcode-org / betfair

betfairlightweight - Betfair API-NG python wrapper (with streaming)
MIT License
418 stars 146 forks source link

Fix type annotations around cert files #506

Open Code0x58 opened 1 year ago

Code0x58 commented 1 year ago

This aligns with the documentation, and use which ultimately goes to Session.request(cert=...) [docs].

It might have been caused by guessing that Tuple is like List and only has a single type parameter - this is the only place Tuple is annotated in the codebase so it doesn't look like there are similar scenarios to fix.