Skip to content

Commit 86d96ae

Browse files
authored
Merge pull request #217 from zero-sum-seattle/0.5.23_Dev
Fixes Issue #216 parentteamid player attribute issue
2 parents ae6e338 + a68d404 commit 86d96ae

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

mlbstatsapi/models/people/people.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ class Player(Person):
181181
parentteamid : int
182182
parent team id
183183
"""
184+
parentteamid: Optional[int] = None
184185
jerseynumber: str
185-
parentteamid: int
186186
position: InitVar[dict]
187187
status: Union[Status, dict]
188188

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.22"
7+
version = "0.5.23"
88

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

0 commit comments

Comments
 (0)