FastAPI 0.95.0 upgrade – problem with pydantic unions

FastAPI 0.95.0 came with a great enhancement: support for dependencies and parameters using¬†Annotated. But more about this I’ll wrote in a separate blog post. While updating my project dependency and changing FastAPI version from 0.94.1 to 0.95.0 I encountered a problem connected with a regression (?) that was introduced with above enhancement and adding support …

M1 Pro device: problems with docker compose

During the last days I was trying to run dockerized projects on MacBook Pro with an Apple silicon – M1 Pro processor. I was using docker compose and encountered a few problems during this process. In the problematic project I have two Dockerfiles. One is based on python:3.8.5-slim image and the second one on node:12 …