plotly / plotly/dash

Make Generated Python Classes more minimal.

Open
#311 1 comment 0 reactions 0 assignees View on GitHub

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...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.