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

ref(api): Split up large file #29302

Merged
merged 4 commits into from
Oct 20, 2021
Merged

ref(api): Split up large file #29302

merged 4 commits into from
Oct 20, 2021

Conversation

mgaeta
Copy link
Contributor

@mgaeta mgaeta commented Oct 13, 2021

The file sentry/api/helpers/group_index.py is over 1300 lines long. This makes it difficult to refactor, add types, or even open in some IDEs.

I created this PR by carefully copying and pasting classes and functions into new files to avoid any behavior changes.

As a next step, I'll be adding types to these files.

@mgaeta mgaeta requested a review from a team October 13, 2021 21:36
@mgaeta mgaeta force-pushed the ref/update-groups branch from f5939ba to 61443af Compare October 20, 2021 00:14
@mgaeta mgaeta changed the title ref(api): De-couple update_groups() from requests ref(api): Split up Large File Oct 20, 2021
@mgaeta mgaeta marked this pull request as ready for review October 20, 2021 00:18
@mgaeta mgaeta requested a review from a team October 20, 2021 00:18
@mgaeta mgaeta changed the title ref(api): Split up Large File ref(api): Split up large file Oct 20, 2021
@mgaeta mgaeta merged commit e240376 into master Oct 20, 2021
@mgaeta mgaeta deleted the ref/update-groups branch October 20, 2021 18:05
@github-actions github-actions bot locked and limited conversation to collaborators Nov 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants