14 references to Module
Aspire.Hosting.Python (7)
PythonAppResourceBuilderExtensions.cs (7)
103=> AddPythonAppCore(builder, name, appDirectory, EntrypointType.Module, moduleName, DefaultVirtualEnvFolder) 640case EntrypointType.Module: 740case EntrypointType.Module: 900EntrypointType.Script or EntrypointType.Module => virtualEnvironment.GetExecutable("python"), 1010if (annotation.Type == EntrypointType.Module) 1083EntrypointType.Script or EntrypointType.Module => virtualEnvironment.GetExecutable("python"), 1112case 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));