We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3811328 commit 69449ddCopy full SHA for 69449dd
1 file changed
mlbstatsapi/models/people/people.py
@@ -179,12 +179,16 @@ class Player(Person):
179
status :
180
Status of the player
181
parentteamid : int
182
- parent team id
+ parent team id
183
+ note : str
184
+ Optional str that allows a note to be added to a player. Such cases seen
185
+ include injury notes.
186
"""
187
parentteamid: Optional[int] = None
188
jerseynumber: str
189
position: InitVar[dict]
190
status: Union[Status, dict]
191
+ note: Optional[str] = None
192
193
def __post_init__(self, position: dict):
194
self.primaryposition = Position(**position) if position else None
0 commit comments