mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-09-30 07:40:12 +03:00
fix(typing): resolve mypy errors in agent.gns3_copilot.gns3_client.connector_factory
This commit is contained in:
parent
0c9f6aa9e3
commit
890093de01
@ -347,7 +347,7 @@ def get_gns3_server_host() -> str:
|
||||
host = get_gns3_server_host()
|
||||
print(f"GNS3 server host: {host}")
|
||||
"""
|
||||
url = _detect_url_for_api()
|
||||
url = _detect_url_for_api() or DEFAULT_GNS3_URL
|
||||
|
||||
# Extract host from URL
|
||||
# URL format: protocol://host:port
|
||||
|
||||
@ -300,7 +300,6 @@ module = [
|
||||
"gns3server.agent.gns3_copilot.agent_service", # 8
|
||||
"gns3server.agent.gns3_copilot.chat_sessions_repository", # 8
|
||||
"gns3server.agent.gns3_copilot.gns3_client.api_handlers", # 10
|
||||
"gns3server.agent.gns3_copilot.gns3_client.connector_factory", # 1
|
||||
"gns3server.agent.gns3_copilot.gns3_client.project_inventory", # 2
|
||||
"gns3server.agent.gns3_copilot.skills.loader", # 1
|
||||
"gns3server.agent.gns3_copilot.skills.manager", # 4
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user