fix(typing): resolve mypy errors in agent.web_wireshark.manage_wireshark

This commit is contained in:
Mark Paronyan 2026-09-28 05:06:25 +00:00
parent 0c9f6aa9e3
commit 755556c146
No known key found for this signature in database
GPG Key ID: 8DC7338A87FE22F8
2 changed files with 1 additions and 5 deletions

View File

@ -81,10 +81,7 @@ from gns3server.utils.uuid_validator import validate_uuid
if __name__ == "__main__":
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))))
try:
from gns3server.agent.web_wireshark.manager import WebWiresharkManager
except ImportError:
from manager import WebWiresharkManager
from gns3server.agent.web_wireshark.manager import WebWiresharkManager
logger = logging.getLogger(__name__)

View File

@ -318,7 +318,6 @@ module = [
"gns3server.agent.mcp", # 34
"gns3server.agent.mcp.appliances", # 1
"gns3server.agent.web_wireshark.docker_client", # 5
"gns3server.agent.web_wireshark.manage_wireshark", # 1
"gns3server.agent.web_wireshark.manager", # 9
"gns3server.agent.web_wireshark.stats", # 4
"gns3server.api.routes.compute.atm_switch_nodes", # 9