[GH-ISSUE #97] [General] Update cached seasons #19

Open
opened 2026-03-02 15:55:04 +03:00 by kerem · 0 comments
Owner

Originally created by @probberechts on GitHub (Nov 11, 2022).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/97

The scrapers cache the result of read_seasons(). Therefore, users might get a KeyError: ['<season>'] not in index if they forget to empty the cache when new seasons become available. A proper exception should be raised in such a case with a hint to empty the cache.

Originally created by @probberechts on GitHub (Nov 11, 2022). Original GitHub issue: https://github.com/probberechts/soccerdata/issues/97 The scrapers cache the result of `read_seasons()`. Therefore, users might get a `KeyError: ['<season>'] not in index` if they forget to empty the cache when new seasons become available. A proper exception should be raised in such a case with a hint to empty the cache.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/soccerdata#19
No description provided.