From a6639dc206f455e659fee66d6c62daa3a4dab992 Mon Sep 17 00:00:00 2001 From: akhdanre Date: Thu, 7 Nov 2024 05:31:15 +0700 Subject: [PATCH] fix: move main.py into inside of app folder and doing some adjustment --- .../__pycache__/auth.cpython-313.pyc | Bin 1096 -> 1092 bytes .../__pycache__/user.cpython-313.pyc | Bin 603 -> 599 bytes app/blueprints/auth.py | 2 +- app/blueprints/user.py | 2 +- .../auth_controller.cpython-313.pyc | Bin 1182 -> 1178 bytes .../user_controller.cpython-313.pyc | Bin 914 -> 910 bytes app/controllers/auth_controller.py | 4 ++-- app/controllers/user_controller.py | 2 +- main.py => app/main.py | 2 +- .../__pycache__/auth_service.cpython-313.pyc | Bin 1059 -> 1055 bytes .../__pycache__/user_service.cpython-313.pyc | Bin 824 -> 820 bytes app/services/auth_service.py | 2 +- app/services/user_service.py | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) rename main.py => app/main.py (78%) diff --git a/app/blueprints/__pycache__/auth.cpython-313.pyc b/app/blueprints/__pycache__/auth.cpython-313.pyc index 895a8eb8ee9dec3ae87a3acef47adf44c286b5b3..8e3ae6fd6cfa8599c0bbe7903a6cef77148fcbc6 100644 GIT binary patch delta 34 ocmX@XafE~SGcPX}0}!~s)lQe$$ZN#R$UWJGxr|Y5@^0o{0Gl%i_W%F@ delta 38 scmX@Yae{;QGcPX}0}y;}Voz7t$ZN#R%AZ(Jpf}lpxr|Y3@^nk$du5#ym!~$udm#0H(+Y_y7O^ delta 38 scmcc4a+`(sGcPX}0}xDXU{6=u$UB>nl|QkdKyUI&#ym!?$r4QV0L#4!BLDyZ diff --git a/app/blueprints/auth.py b/app/blueprints/auth.py index 2a940b2..246b968 100644 --- a/app/blueprints/auth.py +++ b/app/blueprints/auth.py @@ -1,5 +1,5 @@ from flask import Blueprint -from app.controllers import AuthController +from controllers import AuthController # Inisialisasi blueprint auth_blueprint = Blueprint("auth", __name__) diff --git a/app/blueprints/user.py b/app/blueprints/user.py index b422168..000ae7e 100644 --- a/app/blueprints/user.py +++ b/app/blueprints/user.py @@ -1,7 +1,7 @@ # /blueprints/user.py from flask import Blueprint -from app.controllers import UserController +from controllers import UserController user_blueprint = Blueprint("user", __name__) user_controller = UserController() diff --git a/app/controllers/__pycache__/auth_controller.cpython-313.pyc b/app/controllers/__pycache__/auth_controller.cpython-313.pyc index 7da4babc8fa97a960aec7b56745c714184196537..828020a8fcdff0ac422e6011a3e8f6037c796142 100644 GIT binary patch delta 48 zcmbQoIg69`GcPX}0}!;l)lTQw$ZN>L$T8WO#Y0%(E`!2%HeN=>PYgh!ND!z5037TJ Am;e9( delta 52 zcmbQmIggX~GcPX}0}#w^VNVy>$ZN>L%9B`7pf}l`#Y0%-E`!QPYgh!ND!zD E07>x+r2qf` diff --git a/app/controllers/__pycache__/user_controller.cpython-313.pyc b/app/controllers/__pycache__/user_controller.cpython-313.pyc index 69fdd048d525185d468be37e679d432b75e0bf73..e9bf3f916f194e21fdcb54be21940329f2a69d05 100644 GIT binary patch delta 45 xcmbQl-p9`SnU|M~0SG3%)lS#l$g9iD$T8WT*;zp0I~yCL+$RPgQN$0F2LSbW35Wmy delta 49 zcmeBUpTy4lnU|M~0SH1H+0zX-^6E0P@+1}%=uNg}b{0_i&c?$h()BRUomTKyUJCW)}hN?`(pMBA*z5L=i7g4FE`r B3p&C3={wW delta 49 zcmdnOwu6oLGcPX}0}!Y-u%|!S$a{&2RUomTKyUH`CKmzi?`*7$CZ8C9L=itw4FFOQ B41xdv diff --git a/app/services/auth_service.py b/app/services/auth_service.py index a33ba37..fbb7c60 100644 --- a/app/services/auth_service.py +++ b/app/services/auth_service.py @@ -1,4 +1,4 @@ -from app.repositories import UserRepository +from repositories import UserRepository class AuthService: diff --git a/app/services/user_service.py b/app/services/user_service.py index 5bf4ff9..a9da91e 100644 --- a/app/services/user_service.py +++ b/app/services/user_service.py @@ -1,4 +1,4 @@ -from app.repositories import UserRepository +from repositories import UserRepository class UserService: