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