You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the 2018 season and first 6 races of 2019 (could also happen in other seasons i believe, haven't checked though), livetiming api doesn't support keys Reference, CountryCode and HeadshotUrl. When accessing these from session.get_driver(), nothing happens because these keys exist but their values are empty. I think it's beneficial to raise an exception when these are accessed, or have a fallback source to populate these keys instead.
DriverNumber 44
BroadcastName L HAMILTON
Abbreviation HAM
DriverId hamilton
TeamName Mercedes
TeamColor 00D2BE
TeamId mercedes
FirstName Lewis
LastName Hamilton
FullName Lewis Hamilton
HeadshotUrl
CountryCode
Position 1.0
ClassifiedPosition 1
GridPosition 1.0
Q1 NaT
Q2 NaT
Q3 NaT
Time 0 days 01:39:40.382000
Status Finished
Points 25.0
*No output*
The text was updated successfully, but these errors were encountered:
Describe the issue:
For the 2018 season and first 6 races of 2019 (could also happen in other seasons i believe, haven't checked though), livetiming api doesn't support keys
Reference
,CountryCode
andHeadshotUrl
. When accessing these fromsession.get_driver()
, nothing happens because these keys exist but their values are empty. I think it's beneficial to raise an exception when these are accessed, or have a fallback source to populate these keys instead.Reproduce the code example:
Error message:
The text was updated successfully, but these errors were encountered: