コード例 #1
0
ファイル: main.py プロジェクト: matthcol/pythonRest202010
def read_count_movies_by_year(db: Session = Depends(get_db)) -> List[Tuple[
        int, int]]:
    return crud.get_movies_count_by_year(db=db)
コード例 #2
0
ファイル: main.py プロジェクト: villinvic/pythonRest202010
def read_movies_count_by_year(db: Session = Depends(get_db)):
    return crud.get_movies_count_by_year(db=db)