Skip to content

[Add diagnostics]: ASPIREHOSTINGPYTHON001 experimental API #3139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
adegeo opened this issue Apr 21, 2025 · 0 comments · May be fixed by #3145
Open

[Add diagnostics]: ASPIREHOSTINGPYTHON001 experimental API #3139

adegeo opened this issue Apr 21, 2025 · 0 comments · May be fixed by #3145
Assignees
Labels
area-docs doc-idea Indicates issues that are suggestions for new topics [org][type][category] Pri1 High priority, do before Pri2 and Pri3

Comments

@adegeo
Copy link
Contributor

adegeo commented Apr 21, 2025

Rule Type

Error

Version Introduced

9.0

Diagnostic ID

ASPIREHOSTINGPYTHON001

Short Title

AddPythonApp is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.

Description

.NET Aspire provides a way to add Python executables or applications to the .NET Aspire app host with the AddPythonApp extension. Since the shape of this API is expected to change in the future, it's experimental.

var pythonApp = builder.AddPythonApp("hello-python", "../hello-python", "main.py")
       .WithHttpEndpoint(env: "PORT")
       .WithExternalHttpEndpoints()
       .WithOtlpExporter();

How to fix

Suppress the error.

@adegeo adegeo added area-docs doc-idea Indicates issues that are suggestions for new topics [org][type][category] Pri1 High priority, do before Pri2 and Pri3 labels Apr 21, 2025
@adegeo adegeo self-assigned this Apr 21, 2025
@adegeo adegeo changed the title [Add diagnostics]: ASPIREHOSTINGPYTHON001 [Add diagnostics]: ASPIREHOSTINGPYTHON001 experimental API Apr 21, 2025
@adegeo adegeo linked a pull request Apr 22, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-docs doc-idea Indicates issues that are suggestions for new topics [org][type][category] Pri1 High priority, do before Pri2 and Pri3
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant