-
Notifications
You must be signed in to change notification settings - Fork 1.1k
refactor: extract oidc management views to module #18811
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
refactor: extract oidc management views to module #18811
Conversation
`warehouse/manage/views/__init__.py` is already a complex module, with over 3k LOC. Split out any OIDC code (conveniently in a single class) to a new module. This should allow for more focused edits when there are changes. Signed-off-by: Mike Fiedler <miketheman@gmail.com>
Signed-off-by: Mike Fiedler <miketheman@gmail.com>
|
Makes sense to me to pull these out. I would expect us to use the same organizational pattern we use elsewhere though, where we create a |
|
I agree - however these are I'll move the tests out in another commit. |
Signed-off-by: Mike Fiedler <miketheman@gmail.com>
another commit or another PR? |
commit - 7069bbc |
Yeah, If we're going to further churn this, |
I'm doing a double take because I thought |
|
Confused - |
always look at the code, not the chatter :) my bad. |
warehouse/manage/views/__init__.pyis already a complex module, withover 3k LOC. Split out any OIDC code (conveniently in a single class) to
a new module.
This should allow for more focused edits when there are changes.
Signed-off-by: Mike Fiedler miketheman@gmail.com