File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
spyder/plugins/remoteclient/api Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ async def __create_events(self):
103
103
self .__abort_requested = asyncio .Event ()
104
104
self .__lock = asyncio .Lock ()
105
105
106
- def _emit_connection_status (self , status : ConnectionStatus , message : str ):
106
+ def _emit_connection_status (self , status : str , message : str ):
107
107
if self ._plugin is not None :
108
108
self ._plugin .sig_connection_status_changed .emit (
109
109
ConnectionInfo (
Original file line number Diff line number Diff line change 11
11
from __future__ import annotations
12
12
import logging
13
13
import typing
14
- from enum import Enum
15
14
16
15
17
16
class KernelInfo (typing .TypedDict ):
@@ -54,12 +53,12 @@ class JupyterHubClientOptions(typing.TypedDict):
54
53
default_kernel_spec : str | None
55
54
56
55
57
- class ClientType ( Enum ) :
56
+ class ClientType :
58
57
SSH = "ssh"
59
58
JupyterHub = "jupyterhub"
60
59
61
60
62
- class ConnectionStatus ( Enum ) :
61
+ class ConnectionStatus :
63
62
Inactive = "inactive"
64
63
Connecting = "connecting"
65
64
Connected = "connected"
@@ -71,7 +70,7 @@ class ConnectionStatus(Enum):
71
70
72
71
class ConnectionInfo (typing .TypedDict ):
73
72
id : str
74
- status : ConnectionStatus
73
+ status : str
75
74
message : str
76
75
77
76
You can’t perform that action at this time.
0 commit comments