Skip to content

ref: work around mypy bug with partially-typed namespace packages - #70183

Merged
asottile-sentry merged 1 commit into
masterfrom
asottile-work-around-mypy-bug
May 2, 2024
Merged

asottile-sentry merged 1 commit into
masterfrom
asottile-work-around-mypy-bug

Conversation

@asottile-sentry

Copy link
Copy Markdown
Contributor

python/mypy#10360 (comment)

fixes:

$ mypy src/sentry/utils/kvstore/bigtable.py  src/sentry/analytics/pubsub.py 
src/sentry/analytics/pubsub.py:8: error: Module "google.cloud" has no attribute "pubsub_v1"  [attr-defined]
Found 1 error in 1 file (checked 2 source files)

@asottile-sentry
asottile-sentry requested review from a team May 2, 2024 21:36
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 2, 2024
@asottile-sentry
asottile-sentry enabled auto-merge (squash) May 2, 2024 21:36
@asottile-sentry
asottile-sentry merged commit de4f738 into master May 2, 2024
@asottile-sentry
asottile-sentry deleted the asottile-work-around-mypy-bug branch May 2, 2024 22:04
@github-actions github-actions Bot locked and limited conversation to collaborators May 18, 2024

This branch was successfully deployed

1 active deployment
Preview — 7d7c50cc Deployed May 2, 2024 by vercel[bot]
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.

2 participants