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 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,
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -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',
|
||||||
|
|
Reference in a new issue