Make Generated Python Classes more minimal.
Open
Nobody has claimed this yet.
feature
P3
- Dominant language
- Python
- Stars
- 24.4k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 13
Description
A lot of the logic in the dash component python class files is repeated and could (and should) be moved into the base Component class to be inherited.
Things to do...
- Use explicit arguments in the string format call
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 in dash/development/base_component.py at the linked string-format call, then compare it with the generated Dash component Python class files. The concrete task is to use explicit arguments in that format call; done should also align with the issue’s goal of reducing repeated logic through the base Component class.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100