Building Python Micro Services With Fastapi Middleware