FastAPI Complete Course - Project-1 Predefined Path Parameters using ENUM

Поделиться
HTML-код
  • Опубликовано: 16 фев 2023
  • If you have a path operation that receives a path parameter, but you want the possible valid path parameter values to be predefined, you can use a standard Python Enum.
    fastapi.tiangolo.com/tutorial...

Комментарии •