Skip to content
DocsTry Aspire
DocsTry

EntrypointType

Enumnet8.0
📦 Aspire.Hosting.Python v13.4.0
Specifies the type of entrypoint for a Python application.
namespace Aspire.Hosting.Python;
public enum EntrypointType
Executable= 0
A standalone executable from the virtual environment (e.g., "uvicorn", "flask", "pytest").
Script= 1
A Python script file to execute directly (e.g., "main.py", "app.py").
Module= 2
A Python module to run via python -m <module> (e.g., "flask", "uvicorn").