Kek-bot / app.py
Aleksandr Maiorov
v0.2.0
6fb3190
raw
history blame
330 Bytes
import logging
from fastapi import FastAPI
app = FastAPI()
logging.basicConfig(
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
level=logging.INFO
)
logger = logging.getLogger(__name__)
logger.info("Запускаемся... 🥳🥳🥳")
@app.get("/")
def greet_json():
return {"Hello": "World!"}