Skip to content
Docs Try Aspire

PythonAppResource.withPip

Method
📦 Aspire.Hosting.Python v13.2.0-preview.1.26159.1
interface PythonAppResource {
// ... omitted for brevity
withPip(
install?: boolean,
installArgs?: string[]): PythonAppResource;
}

Signature

method withPip builder
Configures pip package installation for a Python application
withPip(
install?: boolean,
installArgs?: string[]): PythonAppResource
install boolean optional = True
installArgs string[] optional
PythonAppResource

Defined on

This method is defined on the following type: