mirror of
https://github.com/meshtastic/python.git
synced 2026-09-14 22:39:18 -04:00
correct type issue during initial assignment
This commit is contained in:
1 parent
662aea049a
commit
1967519deb
1 file changed
+2
-2
+2
-2
@@ -5,7 +5,7 @@ import base64
|
||||
import logging
|
||||
import time
|
||||
|
||||
from typing import Optional, Union
|
||||
from typing import Optional, Union, List
|
||||
|
||||
from meshtastic.protobuf import admin_pb2, apponly_pb2, channel_pb2, localonly_pb2, mesh_pb2, portnums_pb2
|
||||
from meshtastic.util import (
|
||||
@@ -33,7 +33,7 @@ class Node:
|
||||
self.moduleConfig = localonly_pb2.LocalModuleConfig()
|
||||
self.channels = None
|
||||
self._timeout = Timeout(maxSecs=timeout)
|
||||
self.partialChannels = None
|
||||
self.partialChannels: Optional[List] = None
|
||||
self.noProto = noProto
|
||||
self.cannedPluginMessage = None
|
||||
self.cannedPluginMessageMessages = None
|
||||
|
||||
Reference in new issue
Block a user