PythonAppResource(String, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A resource that represents a python executable or app.
public PythonAppResource (string name, string executablePath, string projectDirectory);
new Aspire.Hosting.Python.PythonAppResource : string * string * string -> Aspire.Hosting.Python.PythonAppResource
Public Sub New (name As String, executablePath As String, projectDirectory As String)
Parameters
- name
- String
The name of the resource.
- executablePath
- String
The path to the executable used to run the python app.
- projectDirectory
- String
The path to the directory containing the python app.