withUv
Method
interface PythonAppResource { // ... omitted for brevity withUv( install?: boolean, args?: string[]): PythonAppResource;}Signature
method
withUv builder Adds a UV environment setup task to ensure the virtual environment exists before running the Python application.
withUv( install?: boolean, args?: string[]): PythonAppResourceParameters
install boolean optional = True args string[] optional Returns
PythonAppResource Applies to
This method applies to the following types: