The Wayback Machine - https://web.archive.org/web/20220130141441/https://github.com/topics/fastapi
Skip to content
#

fastapi

Here are 2,763 public repositories matching this topic...

fastapi
tiangolo
tiangolo commented Jun 12, 2020

First check

  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the FastAPI documentation, with the integrated search.
  • I already searched in Google "How to X in FastAPI" and didn't find any information.
  • I already read and followed all the tutorial in the docs and didn't find an answ
kevinmic
kevinmic commented Dec 8, 2021

We are moving some of our django applications to run inside a lambda. When we did so we lost access logs and gained logs that don't have much information. It would be useful if the Mangum Request/Response had additional log information or a mechanism was added to make logging access logs easy.

Example. WSGI access logs

GET /v2/resource HTTP/1.1" 200 686
GET /v2/resource/123 HTTP/1.1" 20
dantownsend
dantownsend commented Nov 12, 2021

It would be nice if there was a new clause which can be added to queries called callback.

For example:

def callback_handler(success, value):
    if success:
        print(f'The query was successful and returned {value}')
    else:
        print("The query failed")

Band.select().callback(callback_handler).run_sync()

The callback could be a function or coroutine, wh

fastapi-crudrouter

Improve this page

Add a description, image, and links to the fastapi topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the fastapi topic, visit your repo's landing page and select "manage topics."

Learn more