Even more migrations to mautrix-python

This commit is contained in:
Tulir Asokan
2019-07-19 21:36:21 +03:00
parent eef498d47a
commit d4e3956941
20 changed files with 215 additions and 337 deletions
+2 -2
View File
@@ -80,7 +80,7 @@ if TYPE_CHECKING:
from .config import Config
from .tgclient import MautrixTelegramClient
config: Optional[Config] = None
config: Optional['Config'] = None
TypeMessage = Union[Message, MessageService]
TypeParticipant = Union[TypeChatParticipant, TypeChannelParticipant]
@@ -91,7 +91,7 @@ InviteList = Union[UserID, List[UserID]]
class Portal:
base_log: logging.Logger = logging.getLogger("mau.portal")
az: AppService = None
bot: Bot = None
bot: 'Bot' = None
loop: asyncio.AbstractEventLoop = None
# Config cache