From 73eecfb416d9740fb71dee73ef6537b23b0d8e1d Mon Sep 17 00:00:00 2001 From: schroeder5 <s.schroeder@fz-juelich.de> Date: Sun, 24 Jan 2021 19:29:14 +0000 Subject: [PATCH] accidentally uploaded sources with debugging print statements --- toardb/data/crud.py | 1 - toardb/data/data.py | 1 - 2 files changed, 2 deletions(-) diff --git a/toardb/data/crud.py b/toardb/data/crud.py index c815174..7e80432 100644 --- a/toardb/data/crud.py +++ b/toardb/data/crud.py @@ -27,7 +27,6 @@ from io import StringIO import csv def get_data(db: Session, timeseries_id: int, format: str): - print("now in crud!") data = db.query(models.Data).filter(models.Data.timeseries_id == timeseries_id).all() if format == 'json': return data diff --git a/toardb/data/data.py b/toardb/data/data.py index 275587b..a58b9c7 100644 --- a/toardb/data/data.py +++ b/toardb/data/data.py @@ -33,7 +33,6 @@ def get_data(timeseries_id: int, format: str = 'json', db: Session = Depends(get #get all data of one timeseries @router.get('/data/id/{timeseries_id}', response_model=List[schemas.Data]) def get_data2(timeseries_id: int, format: str = 'json', db: Session = Depends(get_db)): - print("in data.py!") db_data = crud.get_data(db, timeseries_id=timeseries_id, format=format) if db_data is None: raise HTTPException(status_code=404, detail="Data not found.") -- GitLab