Skip to content
Docs Try Aspire
Docs Try

addPythonExecutable

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

Signature

method addPythonExecutable builder
Adds a Python executable application resource
addPythonExecutable(
name: string,
appDirectory: string,
executableName: string): PythonAppResource
name string
appDirectory string
executableName string
PythonAppResource

Applies to

This method applies to the following types: