Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify Import Statement for Secured Class #18

Closed
Joaopeuko opened this issue Jun 25, 2024 · 0 comments · Fixed by #19
Closed

Simplify Import Statement for Secured Class #18

Joaopeuko opened this issue Jun 25, 2024 · 0 comments · Fixed by #19
Assignees

Comments

@Joaopeuko
Copy link
Owner

Description

We need to simplify the import statement for the Secured class in our project. Currently, we are importing it using:

from secured.secured import Secured

We want to change it to:

from secured import Secured

Steps to Reproduce

  1. Open any file where Secured is imported.

  2. Observe the current import statement:

    from secured.secured import Secured

Expected Behavior

The import statement should be simplified to:

from secured import Secured

Actual Behavior

Currently, we are using:

from secured.secured import Secured

Tasks

  1. Modify the __init__.py file in the secured directory to include Secured.
  2. Update all relevant import statements in the codebase to the new import format.
  3. Test the changes to ensure there are no import errors.

Additional Context

Simplifying the import statement will make the code cleaner and more intuitive. This change should be applied across the entire codebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant