Skip to content

Commit

Permalink
Adding more structure and database support
Browse files Browse the repository at this point in the history
  • Loading branch information
uittenbroekrobbert committed May 15, 2024
1 parent b4257ba commit dad1fc6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions tad/api/routes/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ async def test():
@router.post("/move", response_class=HTMLResponse)
async def move_task(request: Request):
json = await request.json()

print(json)
task = tasks_service.move_task(
int(json["taskId"]), int(json["statusId"]), json["previousSiblingId"], json["nextSiblingId"]
)
Expand Down
3 changes: 0 additions & 3 deletions tad/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@

logger = logging.getLogger(__name__)

print("My name is " + __name__)
logger.info("Hallo ik ben een logOOOOOOOOger")


class Settings(BaseSettings):
# todo(berry): investigate yaml, toml or json file support for SettingsConfigDict
Expand Down
2 changes: 1 addition & 1 deletion tad/services/statuses.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ class StatusesService(metaclass=Singleton):
__statuses_repository = StatusesRepository()

def __init__(self):
logger.info("Statuses service initialized")
# TODO find out why logging is not visible
print("I am created, hello world")

def get_status(self, status_id):
return self.__statuses_repository.find_by_id(status_id)
Expand Down

0 comments on commit dad1fc6

Please sign in to comment.