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