aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-02-21 23:39:21 -0800
committerclarkzjw <[email protected]>2023-02-21 23:39:21 -0800
commit8e83ba6c232172956f4d399e7bfdbe4e832e0536 (patch)
treea4b45633455692257149ed498f9b5cc5ec548ad7 /callback.py
parent3a76618d0f46c7e28641b74a869544661c504e21 (diff)
downloadswarm2fediverse-8e83ba6c232172956f4d399e7bfdbe4e832e0536.tar.gz
optimize imports
Diffstat (limited to 'callback.py')
-rw-r--r--callback.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/callback.py b/callback.py
index 8c80028..687508a 100644
--- a/callback.py
+++ b/callback.py
@@ -4,14 +4,11 @@ from foursquare.poi import query_poi
4from dbstore.dbm_store import get_loc 4from dbstore.dbm_store import get_loc
5from toot import mastodon_client 5from toot import mastodon_client
6from command import * 6from command import *
7from telegram import __version__ as TG_VER
8from typing import cast, List 7from typing import cast, List
9from telegram import InlineKeyboardButton, InlineKeyboardMarkup, Update, ReplyKeyboardMarkup, KeyboardButton 8from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup, ReplyKeyboardRemove
10from telegram.ext import Application, CallbackQueryHandler, CommandHandler, ContextTypes, MessageHandler, filters, \ 9from telegram.ext import ContextTypes, ConversationHandler, CallbackContext
11 ConversationHandler, CallbackContext
12from telegram.constants import ParseMode, ChatAction 10from telegram.constants import ParseMode, ChatAction
13from telegram.error import BadRequest 11from telegram.error import BadRequest
14from telegram import InlineKeyboardButton, InlineKeyboardMarkup, ReplyKeyboardRemove
15 12
16 13
17async def callback_skip_media(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int: 14async def callback_skip_media(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int:
Powered by cgit v1.2.3 (git 2.41.0)