Skip to content

Commit ae6e338

Browse files
authored
Merge pull request #215 from zero-sum-seattle/0.5.22_Dev
Fixes issue #214 by adding missing pitching stat attr
2 parents d6768a9 + f0d1060 commit ae6e338

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

mlbstatsapi/models/stats/pitching.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ class SimplePitchingSplit:
2424
2525
Attributes
2626
----------
27+
summary : str
28+
Summary of stats for the pitcher
2729
gamesplayed : int
2830
The games played by the pitcher.
2931
gamesstarted : int
@@ -149,6 +151,7 @@ class SimplePitchingSplit:
149151
inheritedrunners : int
150152
The number of inherited runners for the pitcher.
151153
"""
154+
summary: Optional[str] = None
152155
gamesplayed: Optional[int] = None
153156
gamesstarted: Optional[int] = None
154157
flyouts: Optional[int] = None

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "python-mlb-statsapi"
7-
version = "0.5.21"
7+
version = "0.5.22"
88

99
authors = [
1010
{ name="Matthew Spah", email="spahmatthew@gmail.com" },

0 commit comments

Comments
 (0)