Skip to content

Commit

Permalink
ref: fix types for relay.config.metric_extraction (#72818)
Browse files Browse the repository at this point in the history
fixes errors when BaseManager is typechecked

<!-- Describe your PR here. -->
  • Loading branch information
asottile-sentry authored Jun 14, 2024
1 parent 48143af commit ba80ae9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sentry/relay/config/metric_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,8 @@ def get_current_widget_specs(organization: Organization) -> set[str]:
).values_list("spec_hashes", flat=True)
current_widget_specs: set[str] = set()
for spec_list in widget_specs:
current_widget_specs = current_widget_specs.union(spec_list)
if spec_list is not None:
current_widget_specs.update(spec_list)
return current_widget_specs


Expand Down

0 comments on commit ba80ae9

Please sign in to comment.