def getResultByLocal(local): try: result = Result.get(Result.teamLocal == local) except: return None return result
def getResultByVisit(visit): try: result = Result.get(Result.teamVisit == visit) except: return None return result
def getResult(id): try: result = Result.get(Result.id == id) except: return None return result