-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref: ensure type of deserialized model is a sentry model (#70255)
fixes a type error pointed out by upgrading django-stubs: ``` src/sentry/services/hybrid_cloud/import_export/impl.py:203: error: "Model" has no attribute "get_possible_relocation_scopes" [attr-defined] src/sentry/services/hybrid_cloud/import_export/impl.py:223: error: "Model" has no attribute "normalize_before_relocation_import" [attr-defined] src/sentry/services/hybrid_cloud/import_export/impl.py:233: error: "Model" has no attribute "get_relocation_scope" [attr-defined] src/sentry/services/hybrid_cloud/import_export/impl.py:239: error: "Model" has no attribute "write_relocation_import" [attr-defined] ``` <!-- Describe your PR here. -->
- Loading branch information
1 parent
ec26096
commit cb549b2
Showing
2 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters