2 writes to Type
Aspire.Hosting.Python (2)
PythonAppResourceBuilderExtensions.cs (2)
368Type = entrypointType, 1061Type = entrypointType,
10 references to Type
Aspire.Hosting.Python (5)
PythonAppResourceBuilderExtensions.cs (5)
460var entrypointType = entrypointAnnotation.Type; 881string command = entrypointAnnotation.Type switch 885_ => throw new InvalidOperationException($"Unsupported entrypoint type: {entrypointAnnotation.Type}") 936var entrypointType = entrypointAnnotation.Type; 1077var entrypointType = existingAnnotation.Type;
Aspire.Hosting.Python.Tests (5)
AddPythonAppTests.cs (5)
219Assert.Equal(EntrypointType.Script, entrypointAnnotation.Type); 931Assert.Equal(EntrypointType.Script, entrypointAnnotation.Type); 950Assert.Equal(EntrypointType.Module, entrypointAnnotation.Type); 969Assert.Equal(EntrypointType.Executable, entrypointAnnotation.Type); 1164Assert.Equal(EntrypointType.Module, entrypointAnnotation.Type);