2 writes to Entrypoint
Aspire.Hosting.Python (2)
PythonAppResourceBuilderExtensions.cs (2)
370
Entrypoint
= entrypoint
1123
Entrypoint
= entrypoint
11 references to Entrypoint
Aspire.Hosting.Python (7)
PythonAppResourceBuilderExtensions.cs (7)
462
var entrypoint = entrypointAnnotation.
Entrypoint
;
564
(string.Equals(entrypointAnnotation.
Entrypoint
, declaredEntrypoint, StringComparison.Ordinal) ||
566
IsSameScriptPath(resource.WorkingDirectory, entrypointAnnotation.
Entrypoint
, declaredEntrypoint))))
575
$"Python app resource '{resource.Name}' is configured to run {entrypointAnnotation.Type.ToString().ToLowerInvariant()} '{entrypointAnnotation.
Entrypoint
}', but publish is using the existing Dockerfile '{dockerfileBuildAnnotation.DockerfilePath}'. " +
944
EntrypointType.Executable => virtualEnvironment.GetExecutable(entrypointAnnotation.
Entrypoint
),
998
var entrypoint = entrypointAnnotation.
Entrypoint
;
1139
var entrypoint = existingAnnotation.
Entrypoint
;
Aspire.Hosting.Python.Tests (4)
AddPythonAppTests.cs (4)
967
Assert.Equal("main.py", entrypointAnnotation.
Entrypoint
);
986
Assert.Equal("flask", entrypointAnnotation.
Entrypoint
);
1005
Assert.Equal("pytest", entrypointAnnotation.
Entrypoint
);
1200
Assert.Equal("uvicorn", entrypointAnnotation.
Entrypoint
);