mirror of
https://github.com/nikdoof/smsbot.git
synced 2025-12-13 01:52:16 +00:00
Cleanup imports
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import argparse
|
||||
import asyncio
|
||||
import logging
|
||||
from configparser import ConfigParser
|
||||
import os
|
||||
from signal import SIGINT, SIGTERM
|
||||
import sys
|
||||
from configparser import ConfigParser
|
||||
from signal import SIGINT, SIGTERM
|
||||
|
||||
import uvicorn
|
||||
from asgiref.wsgi import WsgiToAsgi
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
import logging
|
||||
|
||||
from smsbot.utils import get_smsbot_version
|
||||
from prometheus_client import Counter, Summary
|
||||
from telegram import Update
|
||||
from telegram.ext import (
|
||||
Application,
|
||||
ApplicationHandlerStop,
|
||||
CommandHandler,
|
||||
ContextTypes,
|
||||
TypeHandler,
|
||||
CommandHandler,
|
||||
)
|
||||
|
||||
from smsbot.utils import get_smsbot_version
|
||||
|
||||
REQUEST_TIME = Summary(
|
||||
"telegram_request_processing_seconds", "Time spent processing request"
|
||||
)
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import os
|
||||
from functools import wraps
|
||||
|
||||
from flask import Flask, abort, current_app, request
|
||||
|
||||
Reference in New Issue
Block a user