Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

EntrypointType

Enum
📦 Aspire.Hosting.Python v17.0.0

Specifies the type of entrypoint for a Python application.

type EntrypointType string
const (
EntrypointTypeExecutable EntrypointType = "Executable"
EntrypointTypeScript EntrypointType = "Script"
EntrypointTypeModule EntrypointType = "Module"
)

Values

EntrypointTypeExecutable"Executable"
A standalone executable from the virtual environment (e.g., "uvicorn", "flask", "pytest").
EntrypointTypeScript"Script"
A Python script file to execute directly (e.g., "main.py", "app.py").
EntrypointTypeModule"Module"
A Python module to run via python -m <module> (e.g., "flask", "uvicorn").