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

Make it easier to combine two or more SourceCollection and TechnologyCollection objects

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
data

調査の方向性

まず SourceCollection と TechnologyCollection の定義と使用箇所を見つけ、次にそれらが現在どのようにリストとして表現されているかを確認します。既存のテストスイートでコレクションの動作を確認してください。完了条件は、両方のコレクション型を結合でき、重複する Source または Technology オブジェクトを許可しなくなることです。

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

説明

prototype

During the work on the prototype of the new technology-data, it emerged the necessity to introduce SourceCollection and TechnologyCollection objects, which are currently Lists of respectively Source and Technology objects.

This issue advocates for the overriding of the __add__() method for both SourceCollection and TechnologyCollection, so that the combination of two ornmore SourceCollection objects (or two or more TechnologyCollection objects) becomes easier.

Furthermore, the current implementation of the prototype sees SourceCollection and TechnologyCollection as lists. Lists however support duplicates, which do not really make sense in this case.

Therefore, SourceCollection and TechnologyCollection should be turned to set.

主要言語
Python
スター
130
フォーク
59
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

PyPSA/technology-data のほかの issue

PyPSA/technology-data の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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