addPythonExecutable
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addPythonExecutable( name: string, appDirectory: string, executableName: string): PythonAppResource;}Signature
method
addPythonExecutable builderAdds a Python executable to the application model.
addPythonExecutable( name: string, appDirectory: string, executableName: string): PythonAppResourceParameters
namestringThe name of the resource.appDirectory stringThe path to the directory containing the python application.executableName stringThe name of the executable in the virtual environment (e.g., "pytest", "uvicorn", "flask").Returns
PythonAppResource Applies to
This method applies to the following types: