Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Incorrect type of key in `StartStopEntry` for representing a key that may not be present

オープン 初心者向け
#609 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python
領域
tooling

調査の方向性

httomo/transform_loader_params.py の34~42行付近を開き、StartStopEntry の定義を確認して、関連する issue #608 と比較してください。start_offset と stop_offset が、欠落しているキーと、値が None になり得る存在するキーを区別していることを確認してください。アノテーションが両方の状態を反映していれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Same as #608, but for the start_offset and stop_offset keys in StartStopEntry: https://github.com/DiamondLightSource/httomo/blob/584e15ccd84fbd7f440454b6d3c48a071b8f2f83/httomo/transform_loader_params.py#L34-L42

Optional[int] should be replaced with NotRequired[Optional[int]] to correctly reflect the state of the dict that can be received from the start/stop config for a dimension in a preview parameter value.

主要言語
Python
スター
10
フォーク
5
平均マージ
6分
マージ済み PR(30日)
1

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DiamondLightSource/httomo のほかの issue

DiamondLightSource/httomo の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。