EntrypointType Enum

Definition

Specifies the type of entrypoint for a Python application.

public enum EntrypointType
type EntrypointType = 
Public Enum EntrypointType
Inheritance
EntrypointType

Fields

Name Value Description
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").

Applies to