We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25f7906 commit 1a20feaCopy full SHA for 1a20fea
mlbstatsapi/models/game/livedata/plays/play/attributes.py
@@ -74,7 +74,7 @@ class PlayResult:
74
type: str
75
awayscore: int
76
homescore: int
77
- rbi: Optional[int] = 0
+ rbi: Optional[int] = None
78
event: Optional[str] = None
79
eventtype: Optional[str] = None
80
description: Optional[str] = None
@@ -108,4 +108,4 @@ class PlayReviewDetails:
108
109
def __repr__(self) -> str:
110
kws = [f'{key}={value}' for key, value in self.__dict__.items() if value is not None]
111
- return "{}({})".format(type(self).__name__, ", ".join(kws))
+ return "{}({})".format(type(self).__name__, ", ".join(kws))
0 commit comments