Skip to content
Docs Try Aspire
Docs Try

addPythonExecutable

Method
📦 Aspire.Hosting.Python v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addPythonExecutable(
name: string,
appDirectory: string,
executableName: string): PythonAppResource;
}

Signature

method addPythonExecutable builder
Adds a Python executable to the application model.
addPythonExecutable(
name: string,
appDirectory: string,
executableName: string): PythonAppResource
name string
appDirectory string
executableName string
PythonAppResource

Applies to

This method applies to the following types: