Allow attaching dynamic parameters to contexts
Open
Nobody has claimed this yet.
parsing
- Dominant language
- Python
- Stars
- 17.7k
- Forks
- 2.3k
- Avg merge
- 1d 30m
- Merged PRs (30d)
- 18
Description
The use case I have is for plugins that have configuration to be able to get user input. Here is an example: https://ofek.dev/msgspec-click/usage/#example
In the example, global state is modified which is bad for test scenarios.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked msgspec-click usage example and review how plugin configuration currently receives user input. Determine the context API and tests that would need to support dynamic parameters without modifying global state; done means the use case works without global state and existing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100