latest--partial-fastapi
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/pyproject/_shared/latest--partial-fastapi.json |
| Parent schema | pyproject |
Type:
object
Properties
entrypoint
string
Import string entrypoint for the FastAPI application, in the format:
importable.module:attribute
For example, for an app like:
from fastapi import FastAPI
app = FastAPI()
in a file at backend/main.py
the config could look like:
[tool.fastapi]
entrypoint = "backend.main:app"