Skip to content
Docs Try Aspire

addPythonExecutable

Function
📦 Aspire.Hosting.Python v13.2.0-preview.1.26159.1
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 function is an extension method on the following types: