-
💠4 Tips for Building a Production-Ready FastAPI B...
Here's my thought on 💠4 Tips for Building a Production-Ready FastAPI Backend - YouTube Great list of 4 tips for running fastapi applications. Keep routes…
-
💠Add a healthcheck to your FastAPI app | Pype.dev
Here's my thought on 💠Add a healthcheck to your FastAPI app | Pype.dev Nice example of adding a healthcheck to fastapi, and integrating it with docker.…
-
💠FastHX
Here's my thought on 💠FastHX Very interesting approach to htmx and fast api. It uses separate decorators for returning template partials and json that can…
-
💠FastHX
Here's my thought on 💠FastHX Very interesting approach to htmx and fast api. It uses separate decorators for returning template partials and json that can…
-
💠Background Tasks - FastAPI
Here's my thought on 💠Background Tasks - FastAPI fastapi comes with a concept of background tasks which are functions that can be ran in the background…
-
💠Fields - Pydantic
Here's my thought on 💠Fields - Pydantic and is a good pydantic combination for secret attributes such as user passwords, or hashed passwords. exclude…
-
💠Handling Errors - FastAPI
Here's my thought on 💠Handling Errors - FastAPI This page shows how to customize your fastapi errors. I found this very useful to setup common templates so…
-
💠fastapi decorators
Here's my thought on 💠fastapi decorators I've been using these decorators to modify the behavior of specific routes. It will do things like 404 admin only…
-
💠fastapi https url_for
Here's my thought on 💠fastapi https url_for jinja's in fastapi does not account for https by default, there is probably a better way, but this is a way…
-
💠FastAPI - dependency inside Middleware? - Stack ...
Here's my thought on 💠FastAPI - dependency inside Middleware? - Stack Overflow After struggling to get dependencies inside of middleware I learned that you…
-
💠Handling Errors - FastAPI
Here's my thought on 💠Handling Errors - FastAPI This page shows how to customize your fastapi errors. I found this very useful to setup common templates so…
-
💠logs with FastAPI and Uvicorn · Issue #1508 · ti...
Here's my thought on 💠logs with FastAPI and Uvicorn · Issue #1508 · tiangolo/fastapi Setting an additional log handler to the uvicorn logger for access logs…
-
💠How to group FastAPI endpoints in Swagger UI?
Here's my thought on 💠How to group FastAPI endpoints in Swagger UI? Here is a full example from the post. !!! note This post is a thought . It's a short…
-
💠Path Operation Advanced Configuration - FastAPI
Here's my thought on 💠Path Operation Advanced Configuration - FastAPI From the Docs trailing slash I've had better luck just routing both naked and trailing…
-
💠Protect API docs behind authentication? · Issue ...
Here's my thought on 💠Protect API docs behind authentication? · Issue #364 · tiangol... You can protect your fastapi docs behind auth so that not only can…
-
💠Sebastián RamÃrez on X: "Now @FastAPI has 65k+ G...
Here's my thought on 💠Sebastián RamÃrez on X: "Now @FastAPI has 65k+ GitHub stars! ✨... Fastapi passes flask in GitHub stars! screenshot of…
-
💠florimondmanca/arel: Lightweight browser hot rel...
Here's my thought on 💠florimondmanca/arel: Lightweight browser hot reload for Python... arel is a "Lightweight browser hot reload for Python ASGI web apps"…
-
💠Automatic browser reloading in FastAPI
Here's my thought on 💠Automatic browser reloading in FastAPI I just discovered arel for hot reloading python applications when content changes from this…
-
💠Bigger Applications - Multiple Files - FastAPI
Here's my thought on 💠Bigger Applications - Multiple Files - FastAPI Fastapi lets you tag your 's so that the swagger docs are grouped according to the…
-
💠Create Models with a Many-to-Many Link - SQLMode...
Here's my thought on 💠Create Models with a Many-to-Many Link - SQLModel Creating many to many relationships with sqlmodel requires a LinkTable Model. The…
-
💠python - How to use a Pydantic model with Form d...
Here's my thought on 💠python - How to use a Pydantic model with Form data in FastAPI... I went down the route of leveraging the extention in htmx, but…
-
💠> htmx ~ The json-enc Extension
Here's my thought on 💠htmx ~ The json-enc Extension json-enc extension converts url encoded form values into json encoded data, this is very useful for…
-
💠Header Parameters - FastAPI
Here's my thought on 💠Header Parameters - FastAPI Getting request headers in fastapi has a pretty nice stetup, it allows you to get headers values as…
-
💠Form Data - FastAPI
Here's my thought on 💠Form Data - FastAPI Getting form data inside of fastapi was not intuitive to me at first. Everything I had used in fastapi leaned on…
-
💠Templates - FastAPI
Here's my thought on 💠Templates - FastAPI A guide to add Jinja2Templates to fastapi. !!! note This post is a thought . It's a short note that I make about…
-
💠python 3.x - FastAPI redirection for trailing sl...
Here's my thought on 💠python 3.x - FastAPI redirection for trailing slash returns no... I am trying to use htmx on a new fastapi site for my thoughts, and…
-
💠Static Files - FastAPI
Here's my thought on 💠Static Files - FastAPI Mounting static files in fastapi. !!! note This post is a thought . It's a short note that I make about…
-
💠First-class session support in FastAPI · Issue #...
Here's my thought on 💠First-class session support in FastAPI · Issue #754 · tiangolo... Here is a snippet provided by @tiangolo to store the users jwt…
-
💠Filter Data - WHERE - SQLModel
Here's my thought on 💠Filter Data - WHERE - SQLModel When fetching pydantic models from the database with sqlmodel, and you cannot select your item by id,…
-
💠URL Decoding query strings or form parameters in...
Here's my thought on 💠URL Decoding query strings or form parameters in Python | URLD... In order to turn url encoded links back into links that I would find…