14 references to Module
Aspire.Hosting.Python (7)
PythonAppResourceBuilderExtensions.cs (7)
102=> AddPythonAppCore(builder, name, appDirectory, EntrypointType.Module, moduleName, DefaultVirtualEnvFolder) 614case EntrypointType.Module: 714case EntrypointType.Module: 874EntrypointType.Script or EntrypointType.Module => virtualEnvironment.GetExecutable("python"), 984if (annotation.Type == EntrypointType.Module) 1057EntrypointType.Script or EntrypointType.Module => virtualEnvironment.GetExecutable("python"), 1086case EntrypointType.Module:
Aspire.Hosting.Python.Tests (7)
AddPythonAppTests.cs (7)
938Assert.Equal(EntrypointType.Module, entrypointAnnotation.Type); 1142pythonBuilder.WithEntrypoint(EntrypointType.Module, "uvicorn") 1152Assert.Equal(EntrypointType.Module, entrypointAnnotation.Type); 1197resourceBuilder.WithEntrypoint(EntrypointType.Module, "flask")); 1208builder.WithEntrypoint(EntrypointType.Module, "flask")); 1222resourceBuilder.WithEntrypoint(EntrypointType.Module, null!)); 1226resourceBuilder.WithEntrypoint(EntrypointType.Module, string.Empty));