25 references to Module
Aspire.Hosting.Python (6)
PythonAppResourceBuilderExtensions.cs (6)
107
=> AddPythonAppCore(builder, name, appDirectory, EntrypointType.
Module
, moduleName, DefaultVirtualEnvFolder)
683
case EntrypointType.
Module
:
783
case EntrypointType.
Module
:
945
EntrypointType.Script or EntrypointType.
Module
=> virtualEnvironment.GetExecutable("python"),
1114
EntrypointType.Script or EntrypointType.
Module
=> virtualEnvironment.GetExecutable("python"),
1144
case EntrypointType.
Module
:
Aspire.Hosting.Python.Tests (18)
AddPythonAppTests.cs (18)
985
Assert.Equal(EntrypointType.
Module
, entrypointAnnotation.Type);
1189
pythonBuilder.WithEntrypoint(EntrypointType.
Module
, "uvicorn")
1199
Assert.Equal(EntrypointType.
Module
, entrypointAnnotation.Type);
1240
resourceBuilder.WithEntrypoint(EntrypointType.
Module
, "flask"));
1251
builder.WithEntrypoint(EntrypointType.
Module
, "flask"));
1265
resourceBuilder.WithEntrypoint(EntrypointType.
Module
, null!));
1269
resourceBuilder.WithEntrypoint(EntrypointType.
Module
, string.Empty));
1276
[InlineData(EntrypointType.
Module
, "mymodule", "module")]
1303
.WithEntrypoint(EntrypointType.
Module
, "mymodule");
1322
.WithEntrypoint(EntrypointType.
Module
, "mymodule");
1394
.WithEntrypoint(EntrypointType.
Module
, "mymodule")
1414
.WithEntrypoint(EntrypointType.
Module
, "mymodule");
1433
.WithEntrypoint(EntrypointType.
Module
, "mymodule");
1451
.WithEntrypoint(EntrypointType.
Module
, "mymodule")
1474
.WithEntrypoint(EntrypointType.
Module
, "mymodule")
1492
.WithEntrypoint(EntrypointType.
Module
, "mymodule")
1523
.WithEntrypoint(EntrypointType.
Module
, "mymodule");
1545
.WithEntrypoint(EntrypointType.
Module
, "mymodule")
Aspire.Hosting.Tests (1)
PythonAppDeployPipelineTests.cs (1)
27
.WithEntrypoint(EntrypointType.
Module
, "mymodule");