sort imports

This commit is contained in:
unknown 2020-11-09 00:34:51 +03:00
parent 57c6766514
commit f589a1269a
110 changed files with 203 additions and 238 deletions

View file

@ -1,4 +1,5 @@
from aiogram import types
from .dataset import ANIMATION
animation = types.Animation(**ANIMATION)

View file

@ -1,4 +1,5 @@
from aiogram import types
from .dataset import CHAT
chat = types.Chat(**CHAT)

View file

@ -1,4 +1,5 @@
from aiogram import types
from .dataset import CHAT_MEMBER
chat_member = types.ChatMember(**CHAT_MEMBER)

View file

@ -1,4 +1,5 @@
from aiogram import types
from .dataset import DOCUMENT
document = types.Document(**DOCUMENT)

View file

@ -1,4 +1,5 @@
from aiogram import types
from .dataset import GAME
game = types.Game(**GAME)

View file

@ -1,7 +1,6 @@
from aiogram import types
from .dataset import AUDIO, ANIMATION, \
DOCUMENT, PHOTO, VIDEO
from .dataset import ANIMATION, AUDIO, DOCUMENT, PHOTO, VIDEO
WIDTH = 'width'
HEIGHT = 'height'

View file

@ -1,6 +1,7 @@
import datetime
from aiogram import types
from .dataset import MESSAGE
message = types.Message(**MESSAGE)

View file

@ -1,4 +1,5 @@
from aiogram import types
from .dataset import PHOTO
photo = types.PhotoSize(**PHOTO)

View file

@ -1,4 +1,5 @@
from aiogram import types
from .dataset import REPLY_KEYBOARD_MARKUP
reply_keyboard = types.ReplyKeyboardMarkup(**REPLY_KEYBOARD_MARKUP)

View file

@ -1,4 +1,5 @@
from aiogram import types
from .dataset import UPDATE
update = types.Update(**UPDATE)

View file

@ -1,6 +1,7 @@
from babel import Locale
from aiogram import types
from .dataset import USER
user = types.User(**USER)