2 writes to Type
Aspire.Hosting.Python (2)
PythonAppResourceBuilderExtensions.cs (2)
370Type = entrypointType, 1063Type = entrypointType,
10 references to Type
Aspire.Hosting.Python (5)
PythonAppResourceBuilderExtensions.cs (5)
462var entrypointType = entrypointAnnotation.Type; 883string command = entrypointAnnotation.Type switch 887_ => throw new InvalidOperationException($"Unsupported entrypoint type: {entrypointAnnotation.Type}") 938var entrypointType = entrypointAnnotation.Type; 1079var entrypointType = existingAnnotation.Type;
Aspire.Hosting.Python.Tests (5)
AddPythonAppTests.cs (5)
220Assert.Equal(EntrypointType.Script, entrypointAnnotation.Type); 932Assert.Equal(EntrypointType.Script, entrypointAnnotation.Type); 951Assert.Equal(EntrypointType.Module, entrypointAnnotation.Type); 970Assert.Equal(EntrypointType.Executable, entrypointAnnotation.Type); 1165Assert.Equal(EntrypointType.Module, entrypointAnnotation.Type);