soccerdata icon indicating copy to clipboard operation
soccerdata copied to clipboard

[General] Update cached seasons

Open probberechts opened this issue 3 years ago • 0 comments

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.

probberechts avatar Nov 11 '22 08:11 probberechts