Reformat API module.

This commit is contained in:
Alex Root Junior 2018-09-21 22:48:10 +03:00
parent 88c5b3a606
commit 01dc74a118
2 changed files with 46 additions and 52 deletions

View file

@ -39,4 +39,4 @@ __all__ = [
]
__version__ = '2.0.dev1'
__api_version__ = '3.6'
__api_version__ = '4.1'

View file

@ -1,14 +1,8 @@
import abc
import asyncio
import logging
import os
import ssl
from asyncio import AbstractEventLoop
from http import HTTPStatus
from typing import Optional, Tuple
import aiohttp
import certifi
from .. import types
from ..utils import exceptions
@ -153,7 +147,7 @@ class Methods(Helper):
"""
Helper for Telegram API Methods listed on https://core.telegram.org/bots/api
List is updated to Bot API 3.6
List is updated to Bot API 4.1
"""
mode = HelperMode.lowerCamelCase