AddPythonExecutable
Method
func (DistributedApplicationBuilder) AddPythonExecutable( name string, appDirectory string, executableName string,) PythonAppResourceSignature
method
AddPythonExecutable builderAdds a Python executable to the application model.
AddPythonExecutable( name string, appDirectory string, executableName string,) PythonAppResourceParameters
namestringThe name of the resource.appDirectory stringThe path to the directory containing the python application.executableName stringThe name of the executable in the virtual environment (e.g., "pytest", "uvicorn", "flask").Returns
PythonAppResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder