v3.0.0, MyPy (added _info type hint), PEP8
This commit is contained in:
parent
b0a030becb
commit
09b9d9f238
3 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
|
|
2
setup.py
2
setup.py
|
@ -5,7 +5,7 @@ with open('README.md', 'rt') as readme:
|
|||
|
||||
setuptools.setup(
|
||||
name='python-aternos',
|
||||
version='2.2.0',
|
||||
version='3.0.0',
|
||||
author='Chechkenev Andrey (@DarkCat09)',
|
||||
author_email='aacd0709@mail.ru',
|
||||
description='An unofficial Aternos API',
|
||||
|
|
Reference in a new issue