mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-26 10:35:53 +03:00
[GH-ISSUE #605] [WhoScored] issubclass() arg 2 must be a class, a tuple of classes, or a union #114
Labels
No labels
ESPN
FBref
FotMob
MatchHistory
SoFIFA
Sofascore
WhoScored
WhoScored
bug
build
common
dependencies
discussion
documentation
duplicate
enhancement
good first issue
invalid
performance
pull-request
question
question
removal
understat
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/soccerdata#114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AakashKaushal07 on GitHub (Jun 11, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/605
Hi
When I am trying to create a whoscored object using
ws = sd.WhoScored(leagues='ENG-Premier League', seasons=2017)I was getting this error : "issubclass() arg 2 must be a class, a tuple of classes, or a union "
I suspect this could be an issue due to LooseVersion being deprecated, but not sure.( relatively new to python )
@probberechts commented on GitHub (Jun 11, 2024):
Can you provide the full stack trace of the error, please?