PythonAppResource.WithEntrypoint
Method
type PythonAppResource interface { // ... omitted for brevity WithEntrypoint( entrypointType EntrypointType, entrypoint string, ) PythonAppResource}Signature
method
WithEntrypoint builderConfigures the entrypoint for the Python application.
WithEntrypoint( entrypointType EntrypointType, entrypoint string,) PythonAppResourceParameters
entrypointType EntrypointType The type of entrypoint (Script, Module, or Executable).entrypointstringThe entrypoint value (script path, module name, or executable name).Returns
PythonAppResource The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: