creds file -> config file

This commit is contained in:
Alex 2024-10-27 14:47:02 +03:00
parent c653055134
commit f199292aba
5 changed files with 70 additions and 49 deletions

6
misc/cvars.py Normal file
View file

@ -0,0 +1,6 @@
from contextvars import ContextVar
import nio
config: ContextVar[dict] = ContextVar("config")
matrix_client: ContextVar[nio.AsyncClient] = ContextVar("matrix_client")