Exemplo n.º 1
0
def read_count_movies_by_year(db: Session = Depends(get_db)) -> List[Tuple[
        int, int]]:
    return crud.get_movies_count_by_year(db=db)
Exemplo n.º 2
0
def read_movies_count_by_year(db: Session = Depends(get_db)):
    return crud.get_movies_count_by_year(db=db)