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

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

View file

@ -5,7 +5,7 @@ with open('README.md', 'rt') as readme:
setuptools.setup( setuptools.setup(
name='python-aternos', name='python-aternos',
version='2.2.0', version='3.0.0',
author='Chechkenev Andrey (@DarkCat09)', author='Chechkenev Andrey (@DarkCat09)',
author_email='aacd0709@mail.ru', author_email='aacd0709@mail.ru',
description='An unofficial Aternos API', description='An unofficial Aternos API',