写会百科网
  •  首页
  •  百科大全
  •  文学
  •  登录
  1. 标签
  2. FastAPI后台开发基础(5)使用 Pydantic Mode
  • FastAPI后台开发基础(5):使用 Pydantic Model 定义参数类型

    Pydantic Model类型代码语言:python代码运行次数:0运行复制class Genders(str, Enum):Male = 'male'Female = 'female
    FastAPI后台开发基础(5)使用 Pydantic Model 定义参数类型
    admin1月前
    250
CopyRight © 2022 All Rights Reserved 豫ICP备2022006366号-11
Processed: 0.023, SQL: 9