improve data collection
Compare changes
+ 133
− 42
@@ -18,7 +18,7 @@ from db import models, schemas
@@ -26,17 +26,27 @@ def get_waiting_time(place: str, db: Session):
@@ -46,11 +56,10 @@ def shift_time(t: time, delta: timedelta):
@@ -88,12 +97,21 @@ def get_avg_graph(place: str, db: Session):
@@ -130,18 +148,25 @@ def get_current_graph_points(place: str, current_date: date,
@@ -155,10 +180,15 @@ def get_comments(place: str, page: int, db: Session):
@@ -166,8 +196,7 @@ def get_comments(place: str, page: int, db: Session):
@@ -187,10 +216,43 @@ def delete_comment(id: int, db: Session):
@@ -450,3 +512,32 @@ def delete_collaborative_record(id: int, db: Session):