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:
70
70
officialscorer : Optional [Union [Person , dict ]] = field (default_factory = dict )
71
71
primarydatacaster : Optional [Union [Person , dict ]] = field (default_factory = dict )
72
72
secondarydatacaster : Optional [Union [Person , dict ]] = field (default_factory = dict )
73
+ abschallenges : Optional [Union [List [dict ], dict ]] = field (default_factory = dict )
73
74
74
75
def __post_init__ (self ):
75
76
self .game = GameDataGame (** self .game )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
5
5
[project ]
6
6
name = " python-mlb-statsapi"
7
- version = " 0.5.25 "
7
+ version = " 0.5.26 "
8
8
9
9
authors = [
10
10
{ 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):
89
89
id = self .mlb .get_people_id ('Ty France' )
90
90
self .assertEqual (id , [664034 ])
91
91
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
-
97
92
def test_mlb_get_invalid_person_id (self ):
98
93
"""mlb get_person_id should return empty list for invalid name"""
99
94
id = self .mlb .get_people_id ('Joe Blow' )
@@ -137,11 +132,6 @@ def test_mlb_get_team_id(self):
137
132
id = self .mlb .get_team_id ('Seattle Mariners' )
138
133
self .assertEqual (id , [136 ])
139
134
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
-
145
135
def test_mlb_get_bad_team_id (self ):
146
136
"""mlb get_team_id should return a empty list for invalid team name"""
147
137
id = self .mlb .get_team_id ('Banananananana' )
You can’t perform that action at this time.
0 commit comments