Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/blueapi/core/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ def generic_bounds(val: Device, target: type) -> tuple[type, ...]:

def is_compatible_args(val: Device, target: type, args: tuple[type, ...] | None):
return (not args) or all(
actual is Any
expected is Any
or actual is Any
or type(actual) is TypeVar
or type(expected) is TypeVar
or expected == actual
Expand Down