Skip to content

Commit b036edf

Browse files
committed
Another edge case revert
1 parent 5d8ea6a commit b036edf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nisystemlink/clients/tag/_tag_subscription.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def my_callback(tag: TagData, reader: TagValueReader | None):
4646
# Under certain circumstances, mypy complains about the event not having a type hint
4747
# unless we specify it explicitly. (But we also need to delete the attribute so that
4848
# Events.__getattr__ can do its magic.)
49-
tag_changed: events._EventSlot = None # type: ignore[assignment]
49+
tag_changed = None # type: events._EventSlot
5050
del tag_changed
5151

5252
_HEARTBEAT_INTERVAL_MILLISECONDS = 30000.0

0 commit comments

Comments
 (0)