Skip to content
Docs Try Aspire
Docs Try

withPip

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

Signature

method withPip builder
Configures the Python resource to use pip as the package manager and optionally installs packages before the application starts.
withPip(
install?: boolean,
installArgs?: string[]): PythonAppResource
install boolean optional = True
installArgs string[] optional
PythonAppResource

Applies to

This method applies to the following types: