8 references to WithEntrypoint
Aspire.Hosting.Python (2)
PythonAppResourceBuilderExtensions.cs (2)
39
/// You can also use <see cref="
WithEntrypoint
"/> to change the entrypoint type after creation.
258
.
WithEntrypoint
(entrypointType, entrypoint);
Aspire.Hosting.Python.Tests (6)
AddPythonAppTests.cs (6)
844
pythonBuilder.
WithEntrypoint
(EntrypointType.Module, "uvicorn")
880
pythonBuilder.
WithEntrypoint
(EntrypointType.Executable, "pytest");
899
resourceBuilder.
WithEntrypoint
(EntrypointType.Module, "flask"));
910
builder.
WithEntrypoint
(EntrypointType.Module, "flask"));
924
resourceBuilder.
WithEntrypoint
(EntrypointType.Module, null!));
928
resourceBuilder.
WithEntrypoint
(EntrypointType.Module, string.Empty));