Skip to content
DocsTry Aspire
DocsTry

addPythonExecutable

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

Signature

methodaddPythonExecutablebuilder
Adds a Python executable to the application model.
addPythonExecutable(
name: string,
appDirectory: string,
executableName: string): PythonAppResource
namestring
appDirectorystring
executableNamestring
PythonAppResource

Applies to

This method applies to the following types: