We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4914880 commit de1a73bCopy full SHA for de1a73b
src/nipanel/_panel_value_accessor.py
@@ -3,7 +3,7 @@
3
import collections
4
import enum
5
from abc import ABC
6
-from typing import TypeVar, overload
+from typing import TypeVar, overload, Any
7
8
import grpc
9
from ni_measurement_plugin_sdk_service.discovery import DiscoveryClient
@@ -46,7 +46,9 @@ def __init__(
46
)
47
self._panel_id = panel_id
48
self._notify_on_set_value = notify_on_set_value
49
- self._last_values = collections.defaultdict(lambda: object())
+ self._last_values: collections.defaultdict[str, Any] = collections.defaultdict(
50
+ lambda: object()
51
+ )
52
53
@property
54
def panel_id(self) -> str:
0 commit comments