fix: add combined_season classmethod to PitchingStat (#65) #67

Open
Claude wants to merge 1 commits from ai/major-domo-database-65 into main

View File

@ -1175,6 +1175,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: