[BUG] dcc.Upload contents and dcc.Geolocation position docstrings describe the wrong value format
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 30/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- python, react
調査の方向性
Update the dcc.Upload.contents and dcc.Geolocation.position docstrings in the cited component files: components/dash-core-components/src/components/Upload.react.js and src/components/Geolocation.react.js. Read the current wording alongside the behavior cited in the issue, then check the generated Python help for both components. Done when the help describes contents as a base64 data URL and unavailable position fields as null (None in Python); pull request #4126 is already open.
索引モデルが issue の本文から書いたものです。
説明
Describe your context
Current dev (dash 4.5.0). Docs only; no specific browser or OS.
Describe the bug
Two dcc prop docstrings describe a value format the component does not produce. Both reach users through the generated Python help (help(dcc.Upload), help(dcc.Geolocation)).
-
dcc.Upload.contentssays "The contents of the uploaded file as a binary string" (components/dash-core-components/src/components/Upload.react.js:29). The component reads every file withreader.readAsDataURL(file)(src/fragments/Upload.react.js:189) and passesreader.resultthrough unchanged (:173), socontentsis a base64 data URL (data:<mime type>;base64,<data>), which callbacks have to split and base64-decode. -
dcc.Geolocation.positionsays the optional fields are included "when available, otherwise it will be NaN" (src/components/Geolocation.react.js:122). The component sets each field with?? null(:59-65), so an unavailable value arrives asnull(Nonein a Python callback), not NaN.
Expected behavior
contents: "The contents of the uploaded file as a base64 encoded data URL (data:<mime type>;base64,<data>)".position: "... otherwise it will be null (Nonein Python)".
I'm happy to send the PR for both lines.
(Found and written up with AI assistance, Claude Code; the cited lines were checked against dev.)
- 主要言語
- Python
- スター
- 24.5k
- フォーク
- 2.3k
- 平均マージ
- 3日 7時間
- マージ済み PR(30日)
- 30
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
plotly/dash のほかの issue
-
P2 plotly-internal size: 1 task
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Extract graph schema validation into properly named test対応中かも @Nice6042 が 90 日前に担当しました。 オープンgood first issue P3 size: 1 task
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
[BUG] Patch.update mutates a shared mapping and rewrites earlier merges対応中かも @peterolkhov が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
[BUG] dcc.Dropdown: virtualized list keeps the height measured at opening when options grow while the menu is open対応中かも @KoolADE85 が 2 日前に担当しました。 オープンbug P3 size: 1
plotly/dash#4131 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] `set_props` streaming対応中かも @BSd3v が 5 日前に担当しました。 オープンbug P3 size: 1
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
[BUG] HTTP lifecycle dispatch treats a NO_PROXY-only environment as corporate egress and skips the resolve-and-pinned session対応中かも @bodapatisaikrishna が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
external
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
langchain-ai/docs#7652 ·
メンテナーはふだん 1 日以内に返信
-
[oblt-aw][autodoc] Document new e2e-secret-leak-artifacts workflow and update e2e-all leaf listオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
elastic/oblt-aw#2513 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug p2
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
NCAR/CLM-Tutorial#113 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信