Commit 807df09
fix(dashboards): Fix mypy error in dashboard revisions endpoint
OrganizationDashboardBase types permission_classes as
tuple[type[OrganizationDashboardsPermission]], so overriding it with
OrganizationPermission caused a mypy incompatible assignment error.
Removing the override uses the inherited OrganizationDashboardsPermission,
which already permits GET.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent bac7bc7 commit 807df09
File tree
1 file changed
+0
-2
lines changed- src/sentry/dashboards/endpoints
1 file changed
+0
-2
lines changedLines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | | - | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
| |||
0 commit comments