You can declare the type of a path parameter in the function, using standard Python type annotations: from fastapi import FastAPI app = FastAPI() ...
確定! 回上一頁