Search results
  1. People View all

  2. 16 hours ago

    Its raining so no more DIY. Working on profiling applications, put together a simple middleware wrapper for pyinstrument that returns all API calls as a HTML profile page (fastapi-profiler didn't do what I wanted). Want to write an version as well

    screenshot of a profiled application call stack for Python
  3. 20 hours ago

    Of course, 3.0.x has some glaring omissions and limitations that 3.1 may help alleviate. We'll have to see how things improve when incorporates the new version. For instance, you can define optional or Union properties in FastAPI but OpenAPI doesn't handle it.

    Show this thread
  4. 20 hours ago

    I decided to build the new version on was for its capability of generating spec for the API and presenting that via and/or . Docs for the current version are handled separately from the API code and it's a pain to keep things in sync.

    Show this thread
  5. 20 hours ago

    As you could guess from the various tweets about and , I have been working building a new version of the Wait Wait Stats API on FastAPI. It's been a bit both fun and sometimes frustrating learning about the nuances, especially response models and .

    Show this thread
  6. Aug 7

    While it can be a bit frustrating trying to debug these issues, it's part of the learning curve of picking up and using a new framework. I like the use of and auto OpenAPI JSON generation that comes with and it's perfect for building APIs...

    Show this thread
  7. Aug 7

    What I had to do was to move the declaration for "/date/iso/{show_date}" and "/date/iso/{show_date}/details" above other instances of "/date/..." so it would pick out "iso" first when it's tokenizing the path. I guess that's one ❌ against compared to .

    Show this thread
  8. Aug 7

    On the flip side, seems to tokenize the route path provided in router.get() and seems to do type hinting only in function definition. So, having "/date/{year}/{month}" declared before "/date/iso/{show_date}" causes "/date/iso/2020-10-27" to be handled by the former...

    Show this thread
  9. Aug 7

    Well, found a gotcha with how differs in parsing paths compared to . Flask provides a means to define the type hinting for each element in a path in app.route() plus in the function definition.

    Show this thread
  10. Aug 7

    Create FastApi-Angular Website with Google Login

  11. Aug 7
  12. Aug 6

    While using Response Models in does mean things are slower (to validate the data that is returned), it's extremely useful in the auto-generation of the OpenAPI JSON (thus API docs). Also, it helps make sure that I don't muck things up when porting from v1.0 (Flask).

  13. Aug 6
  14. Aug 6

    این پنج شنبه جمعه به یادگیری گذشت خیلی خوبه خصوصا برای ما پایتون کار ها

  15. Aug 6
  16. Aug 6

    Deploy FastAPI on Azure with Github Actions

  17. Aug 6

    Wrote an article yesterday on how I'm using a decorator to automatically initialize models from JSON. Pairs great with and

  18. Aug 6

    Episode #72: Starting With FastAPI and Examining Python's Import System – The Real Python Podcast ✅

  19. Aug 6

    The basics of Creating a Full CRUD API in Python (Flask and FastAPI)

  20. Aug 5
  21. Aug 5

    Want to build a fully asynchronous app with ? Check out my new tutorial! Covering: * Managing keys * Storing data in RedisTimeSeries * Caching with Redis Along the way, I'll show you how to use FastAPI background tasks and startup events!

Loading seems to be taking a while.

Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.