File tree Expand file tree Collapse file tree 3 files changed +2
-11
lines changed
mlbstatsapi/models/game/gamedata Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ class GameData:
7070 officialscorer : Optional [Union [Person , dict ]] = field (default_factory = dict )
7171 primarydatacaster : Optional [Union [Person , dict ]] = field (default_factory = dict )
7272 secondarydatacaster : Optional [Union [Person , dict ]] = field (default_factory = dict )
73+ abschallenges : Optional [Union [List [dict ], dict ]] = field (default_factory = dict )
7374
7475 def __post_init__ (self ):
7576 self .game = GameDataGame (** self .game )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " python-mlb-statsapi"
7- version = " 0.5.25 "
7+ version = " 0.5.26 "
88
99authors = [
1010 { name =" Matthew Spah" , email =" spahmatthew@gmail.com" },
Original file line number Diff line number Diff line change @@ -89,11 +89,6 @@ def test_mlb_get_person_id(self):
8989 id = self .mlb .get_people_id ('Ty France' )
9090 self .assertEqual (id , [664034 ])
9191
92- def test_mlb_get_person_id_with_sportid (self ):
93- """mlb get_person_id should return a person id"""
94- id = self .mlb .get_people_id ('Tyler Black' , sport_id = 11 )
95- self .assertEqual (id , [672012 ])
96-
9792 def test_mlb_get_invalid_person_id (self ):
9893 """mlb get_person_id should return empty list for invalid name"""
9994 id = self .mlb .get_people_id ('Joe Blow' )
@@ -137,11 +132,6 @@ def test_mlb_get_team_id(self):
137132 id = self .mlb .get_team_id ('Seattle Mariners' )
138133 self .assertEqual (id , [136 ])
139134
140- def test_mlb_get_team_minor_id (self ):
141- """mlb get_team_id should return a list of matching team id's"""
142- id = self .mlb .get_team_id ('DSL Brewers 2' )
143- self .assertEqual (id , [2101 ])
144-
145135 def test_mlb_get_bad_team_id (self ):
146136 """mlb get_team_id should return a empty list for invalid team name"""
147137 id = self .mlb .get_team_id ('Banananananana' )
You can’t perform that action at this time.
0 commit comments