Irfanuddin Shafi Ahmed

Results 94 comments of Irfanuddin Shafi Ahmed

From your code, I don't see a line that starts FastAPI server. How are you starting it? If you're starting it outside like using `uvicorn main:app` it would not work...

Having a Celery wrapper would fit both of your use cases

@tchaton you can try [this blog post](https://testdriven.io/blog/fastapi-and-celery/)

I think using Pydantic shows everything in body. I may be wrong.

You can use `dataclass` [from Pydantic.](https://pydantic-docs.helpmanual.io/usage/dataclasses/) ```python import typing from enum import Enum from fastapi import FastAPI, Query, Depends from pydantic.dataclasses import dataclass app = FastAPI() class Status(str, Enum): SUCCESS...

@JarroVGIT [this discussion](https://github.com/samuelcolvin/pydantic/issues/710) is about the difference between the two..

@jerinpetergeorge if you are happy with the solution, you can close this and open a ISSUE/BUG to discuss on why the "normal" approach is not working, and probably finding a...

I would love to see `How to deploy on Kubernetes?` its something the company I work for is experimenting with for over 1.5 years now. We settled on following the...

I think a quick "How To" guide relevant to Uvicorn is what most people would benefit from. We can assume that intended audience would know Uvicorn, Gunicorn and Kubernetes to...

### Things which are essential (IMO): 1. Deployment at development environment. 2. Deployment using systemd (behind Gunicorn/process manager). 3. Deployment using Docker and Docker compose. 4. Deployment using Kubernetes ###...