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

[ESSREDUCE] `ParamWithOptions` fails to instantiate when the associated parameter has a default value on the workflow

オープン
#652 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
frontend

調査の方向性

まず、関連付けられた sciline 型にデフォルト値がある場合の、ParamWithOptions を使用した workflow GUI パラメータのインスタンス化を再現し、その後、デフォルト値のない型と比較します。ウィジェットがどのように構築されるかを追跡し、デフォルト値がある場合に missing options に関する TypeError が発生しなくなり、なおかつオプションが引き続き利用できることを確認します。

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

説明

essreduce

ParamWithOptions is used to register workflow GUI parameter that have options.

If the sciline type that is associated with the GUI parameter has a default value in the workflow, then the instantiation of the parameter widget fails with the error:

TypeError: ParamWithOptions.__init__() missing 1 required keyword-only argument: 'options'

If the sciline type does not have a default value then it works.

主要言語
Python
スター
1
フォーク
3
平均マージ
3日 14時間
マージ済み PR(30日)
12

環境構築

はじめの一歩

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

scipp/ess のほかの issue

scipp/ess の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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