v3.0.0, MyPy (added _info type hint), PEP8

This commit is contained in:
DarkCat09 2023-05-29 12:06:21 +04:00
parent b0a030becb
commit 09b9d9f238
3 changed files with 4 additions and 4 deletions

View file

@ -117,7 +117,7 @@ class Client:
self.save_session(filename)
except OSError:
pass
def login_with_session(self, session: str) -> None:
"""Log in using ATERNOS_SESSION cookie

View file

@ -4,7 +4,7 @@ import re
import json
import enum
from typing import List
from typing import Any, Dict, List
from functools import partial
from .atconnect import BASE_URL, AJAX_URL
@ -75,7 +75,7 @@ class AternosServer:
self.servid = servid
self.atconn = atconn
self._info = {}
self._info: Dict[str, Any] = {}
self.atserver_request = partial(
self.atconn.request_cloudflare,