Skip to content

ref(models): Combine option models into a submodule#31615

Merged
mgaeta merged 5 commits intomasterfrom
fix/organization-integrations-6
Feb 14, 2022
Merged

ref(models): Combine option models into a submodule#31615
mgaeta merged 5 commits intomasterfrom
fix/organization-integrations-6

Conversation

@mgaeta
Copy link
Copy Markdown
Contributor

@mgaeta mgaeta commented Feb 4, 2022

In Backend TSC, we decided that it's time to start organizing some of our larger, flat directories. In this PR I take some files that are top-level in the module and combine them into a sub-directory.

src/sentry/models/organizationoption.py,
src/sentry/models/projectoption.py,
src/sentry/models/useroption.py,
src/sentry/models/options/,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another potential location would be with the other options code in sentry.options.models. Although that options and these options serve very different purposes 🤔

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah these option models are sort of catch-all settings and the options module is for options that act like environment variables.

@mgaeta mgaeta deleted the fix/organization-integrations-6 branch February 14, 2022 18:16
@github-actions github-actions bot locked and limited conversation to collaborators Mar 2, 2022
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.

3 participants