Partager via


PythonAppResource(String, String, String) Constructor

Definition

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.

Applies to