mirror of
https://github.com/arabianq/viking-file-python.git
synced 2026-04-28 06:21:24 +00:00
fix: now supports python3.11+
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ BASE_URL = "https://vikingfile.com/api/"
|
||||
|
||||
|
||||
@asynccontextmanager
|
||||
async def _get_session(session: ClientSession | None) -> AsyncGenerator[ClientSession]:
|
||||
async def _get_session(session: ClientSession | None) -> AsyncGenerator[ClientSession, None]:
|
||||
close_session = session is None
|
||||
session = session or ClientSession()
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user