microsoft / microsoft/aspire

Polyglot Apphost - python - ParameterResource has no .value or .get_value methods

Open
#16,573 0 comments 0 reactions 0 assignees View on GitHub
area-app-model
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

I was trying to add an event hook to a python container that resolved the parameter value (password) and then used it to call the api with it. BUt there was no way on the python apphost to get the parameter value.

### Describe the solution you'd like

Add a .get_value or .value to the ParameterResource so that commands and lifecycle hooks can resolve these values.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the Python AppHost ParameterResource and the command and lifecycle-hook entry points mentioned in the issue. Verify how a parameter value is represented and exposed there, then confirm done when the requested accessor lets those hooks and commands resolve a parameter value such as a password.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.