Skip to content

[DEPR] pick_fastest needs to return None instead of empty Lap #477

Closed
@theOehrly

Description

Laps.pick_fastest currently returns an empty Lap object in case there is no lap or no lap that meets the criteria for fastest lap.

Starting from v3.3 this should return None instead. The corresponding deprecation warning was added in #476.

See also: #472, #472 (comment)

This issue serves as a reminder to change this for v3.3

Metadata

Assignees

No one assigned

    Labels

    deprecationConcerns a pending deprecationmaintenanceChanges required to gurantee that things work properly in the future still

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions