Skip to content

Conversation

@asottile-sentry
Copy link
Contributor

fixes this when managers are type checked:

src/sentry/db/models/manager/base.py:481: error: Argument 1 to "create_or_update" has incompatible type "type[M]"; expected "type[BaseModel]"  [arg-type]

@asottile-sentry asottile-sentry requested review from a team July 1, 2024 18:26
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 1, 2024
@asottile-sentry asottile-sentry enabled auto-merge (squash) July 1, 2024 18:27
@asottile-sentry asottile-sentry merged commit 646521b into master Jul 1, 2024
@asottile-sentry asottile-sentry deleted the asottile-typing-create-or-update branch July 1, 2024 18:56
@github-actions github-actions bot locked and limited conversation to collaborators Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants