betcode-org / betconnect

betconnect - API client
MIT License
7 stars 6 forks source link

Small collection of minor changes to data types and allow more fields to be nullable ... #16

Closed petercoles closed 2 years ago

petercoles commented 2 years ago

... and extend tests for active bets returned by my_bets to more scenarios and sports.

varneyo commented 2 years ago

Hi mate, just merged technically the syntax which even I have been lazy on is (an example below): each_way_factor: Optional[float] = Field(default=None) or each_way_factor: Optional[float] = None rather then (no optional): each_way_factor: float = Field(default=None)

I will fix this though across all resources in the next commit