mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-08 03:01:47 +00:00
Add TYPE_CHECKING imports to fix unresolved-reference type bugs
This commit is contained in:
parent
d45c738a52
commit
432614591a
6 changed files with 22 additions and 7 deletions
|
|
@ -25,7 +25,10 @@ import hmac
|
|||
import logging
|
||||
import os
|
||||
import urllib.parse
|
||||
from typing import Any, Dict, Optional
|
||||
from typing import Any, Dict, Optional, TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
import aiohttp
|
||||
|
||||
from gateway.config import Platform, PlatformConfig
|
||||
from gateway.platforms.base import (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue