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 dfe8a7e commit 1c9705aCopy full SHA for 1c9705a
src/nipanel/_panel.py
@@ -3,20 +3,14 @@
3
import sys
4
from abc import ABC
5
from types import TracebackType
6
-from typing import TYPE_CHECKING
7
8
import grpc
9
from ni_measurement_plugin_sdk_service.discovery import DiscoveryClient
10
from ni_measurement_plugin_sdk_service.grpc.channelpool import GrpcChannelPool
+from typing_extensions import Self
11
12
from nipanel._panel_value_accessor import PanelValueAccessor
13
14
-if TYPE_CHECKING:
15
- if sys.version_info >= (3, 11):
16
- from typing import Self
17
- else:
18
- from typing_extensions import Self
19
-
20
21
class Panel(PanelValueAccessor, ABC):
22
"""This class allows you to open a panel and specify values for its controls."""
0 commit comments