Skip to content

Commit

Permalink
Ignore type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
abbiemery committed Nov 13, 2023
1 parent 6941b40 commit 3be15c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ophyd_async/core/device_save_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@ def get_signal_values(
}
selected_values = yield Msg("locate", *selected_signals.values())

# TODO: investigate wrong type hints
if isinstance(selected_values, dict):
selected_values = [selected_values]
selected_values = [selected_values] # type: ignore

assert selected_values is not None, "No signalRW's were able to be located"
named_values = {
Expand Down

0 comments on commit 3be15c1

Please sign in to comment.