TanmoySG / wunder-identity-provider

ID Provider for Wunder Platform. Authentication & Authorization Server for all wunder products
3 stars 0 forks source link

[Standardization] Standardize Import Paths #46

Closed TanmoySG closed 2 years ago

TanmoySG commented 2 years ago

Standardize Import paths to fix such errors

Traceback (most recent call last):
  File "providers/registrationProvider/registration.py", line 3, in <module>
    from providers.authLib.authLib import AUTHLIB
  File "/workspaces/wunder-identity-provider/providers/authLib/authLib.py", line 5, in <module>
    from providers.authLib.handlers.requestHandler import AUTH_REQUEST
  File "/workspaces/wunder-identity-provider/providers/authLib/handlers/requestHandler.py", line 8, in <module>
    from handlers.authProfileHandler import AUTH_PROFILE
ModuleNotFoundError: No module named 'handlers'

[Checkpoints]

[Snippets]

from handlers.requestHandler import AUTH_REQUEST

from handlers.authProfileHandler import AUTH_PROFILE

from handlers.generators import OTP, TIMESTAMP, HASH_SECRET, UUID

from handlers.maintenanceHandler import MAINTENANCE
TanmoySG commented 2 years ago

Removes Comment Here - https://github.com/TanmoySG/wunder-identity-provider/blob/dev/providers/loginProvider/login.py#L70-L72