13 references to AddPythonExecutable
Aspire.Hosting.Python (2)
PythonAppResourceBuilderExtensions.cs (2)
166/// <item><description><see cref="AddPythonExecutable"/> - To run an executable from the virtual environment</description></item> 207/// <item><description><see cref="AddPythonExecutable"/> - To run an executable from the virtual environment</description></item>
Aspire.Hosting.Python.Tests (10)
AddPythonAppTests.cs (10)
995var pythonBuilder = builder.AddPythonExecutable("pytest", workspace.Path, "pytest"); 1086builder.AddPythonExecutable("pythonProject", workspace.Path, executableName); 1163var pythonBuilder = builder.AddPythonExecutable("pytest", workspace.Path, "pytest") 1346builder.AddPythonExecutable("executable-app", sourceDir, "pytest").Resource, 1602builder.AddPythonExecutable("executable-app", projectDirectory, "pytest") 1668builder.AddPythonExecutable("executable-app", projectDirectory, "pytest") 1884var pythonApp = builder.AddPythonExecutable("myapp", appDirectory, "uvicorn") 1910var pythonApp = builder.AddPythonExecutable("myapp", appDirectory, "uvicorn") 2010var pythonApp = builder.AddPythonExecutable("myapp", appDirectory, executableName) 2285builder.AddPythonExecutable("executable-app", projectDirectory, "pytest");
Python.AppHost (1)
AppHost.cs (1)
15builder.AddPythonExecutable("fastapi-uvicorn-app", "../module_only", "uvicorn")