theOehrly / Fast-F1

FastF1 is a python package for accessing and analyzing Formula 1 results, schedules, timing data and telemetry
https://docs.fastf1.dev
MIT License
2.29k stars 239 forks source link

[MNT] Use F1 livetiming API to differentiate between race-like and quali-like sessions? #581

Open theOehrly opened 2 months ago

theOehrly commented 2 months ago

Proposed new feature or change:

The livetiming API provides information about the session type. Using this may be preferable over having hard-coded values if this information is really only necessary when processing data from the livetiming API. It would allow removing hard-coded values that are subject to change over multiple seasons, and potentially enable some code clean-up.

More comments and discussion can be found here: https://github.com/theOehrly/Fast-F1/pull/572#issuecomment-2066232014

Some more in depth investigation is necessary to determine whether such a change is reasonable.