Merge pull request 'fix: add combined_season classmethod to PitchingStat (#65)' (#67) from ai/major-domo-database-65 into main
This commit is contained in:
commit
14234385fe
@ -1365,6 +1365,10 @@ class PitchingStat(BaseModel):
|
||||
def select_season(season):
|
||||
return PitchingStat.select().where(PitchingStat.season == season)
|
||||
|
||||
@staticmethod
|
||||
def combined_season(season):
|
||||
return PitchingStat.select().where(PitchingStat.season == season)
|
||||
|
||||
@staticmethod
|
||||
def regular_season(season):
|
||||
if season == 1:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user