Skip to content

ref: remove paranoia star import from sentry.db.models.__init__ #73061

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

Merged
merged 1 commit into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/sentry/db/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from .base import * # NOQA
from .fields import * # NOQA
from .paranoia import * # NOQA
from .query import * # NOQA
3 changes: 1 addition & 2 deletions src/sentry/models/integrations/sentry_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@
BoundedPositiveIntegerField,
FlexibleForeignKey,
Model,
ParanoidManager,
ParanoidModel,
control_silo_model,
)
from sentry.db.models.fields.hybrid_cloud_foreign_key import HybridCloudForeignKey
from sentry.db.models.fields.jsonfield import JSONField
from sentry.db.models.fields.slug import SentrySlugField
from sentry.db.models.paranoia import ParanoidManager, ParanoidModel
from sentry.models.apiscopes import HasApiScopes
from sentry.models.outbox import ControlOutbox, OutboxCategory, OutboxScope, outbox_context
from sentry.types.region import find_all_region_names
Expand Down
9 changes: 2 additions & 7 deletions src/sentry/models/integrations/sentry_app_installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,10 @@

from sentry.backup.scopes import RelocationScope
from sentry.constants import SentryAppInstallationStatus
from sentry.db.models import (
BoundedPositiveIntegerField,
FlexibleForeignKey,
ParanoidManager,
ParanoidModel,
control_silo_model,
)
from sentry.db.models import BoundedPositiveIntegerField, FlexibleForeignKey, control_silo_model
from sentry.db.models.fields.hybrid_cloud_foreign_key import HybridCloudForeignKey
from sentry.db.models.outboxes import ReplicatedControlModel
from sentry.db.models.paranoia import ParanoidManager, ParanoidModel
from sentry.services.hybrid_cloud.app.model import RpcSentryAppComponent, RpcSentryAppInstallation
from sentry.services.hybrid_cloud.auth import AuthenticatedToken
from sentry.services.hybrid_cloud.project import RpcProject
Expand Down
Loading