WithPip
Method
func (PythonAppResource) WithPip(options ...*WithPipOptions) PythonAppResourceSignature
method
WithPip builderConfigures the Python resource to use pip as the package manager and optionally installs packages before the application starts.
WithPip(options ...*WithPipOptions) PythonAppResourceParameters
options...*WithPipOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithPipOptions argument.
Install*boolWhen true (default), automatically installs packages before the application starts. When false, only sets the package manager annotation without creating an installer resource.InstallArgs []string The command-line arguments passed to pip install command.Returns
PythonAppResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: