From 3644965245d7ed9a4b80619be14d5f60020f83cd Mon Sep 17 00:00:00 2001 From: Turall Date: Wed, 2 Jun 2021 11:26:15 +0400 Subject: [PATCH] fix comments --- .gitignore | 2 +- fastapi_crudrouter/core/gino_starlette.py | 1 - tests/test_integration/test_backend_not_installed.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2bcaa66..cd099f5 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ __pycache__/ # C extensions *.so - +.vscode # Distribution / packaging .Python build/ diff --git a/fastapi_crudrouter/core/gino_starlette.py b/fastapi_crudrouter/core/gino_starlette.py index 4b5e8f3..6a7cf1b 100644 --- a/fastapi_crudrouter/core/gino_starlette.py +++ b/fastapi_crudrouter/core/gino_starlette.py @@ -104,7 +104,6 @@ async def route( model: self.update_schema, # type: ignore ) -> Model: try: - print("PKK") db_model: Model = await self._get_one()(item_id) async with self.db.transaction(): model = model.dict(exclude={self._pk}) diff --git a/tests/test_integration/test_backend_not_installed.py b/tests/test_integration/test_backend_not_installed.py index 1b5f046..5a53066 100644 --- a/tests/test_integration/test_backend_not_installed.py +++ b/tests/test_integration/test_backend_not_installed.py @@ -11,7 +11,6 @@ def test_virtualenv(virtualenv): if __name__ == "__main__": - # print("OKKK") from fastapi_crudrouter import ( DatabasesCRUDRouter, GinoCRUDRouter,