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