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

Improve inefficient retrieval of zarr chunks from the API

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
api, cli

調査の方向性

まず、1786-1795行付近の dandi/dandiapi.py と /api/zarr/\u003czarr_id\u003e/files/ エンドポイントを調査します。現在の CLI がファイルパスをプレフィックスとしてリクエストを生成しているかを追跡し、その動作を issue で想定されている lookup レベルと比較します。リクエストの発生元を確認して冗長な取得をなくすか、変更された CLI でのみ発生することを文書化できれば完了です。

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

説明

We are receiving many requests to the API, from the CLI, of the following format:

GET /api/zarr/<zarr_id>/files/?prefix=0/0/0/13/14/97&download=true

Often times, the path provided (0/0/0/13/14/97) is itself the only file returned, and as such, could just be retrieved by querying for the "level" above (0/0/0/13/14). Really though, every response from that endpoint is itself an object, so there should never be a case where the CLI is trying to determine if a path returned is a directory or a file.

I believe the code generating these requests lives here See the comment below.

It's possible the requests we're receiving are from a modified version of the CLI, in which case this issue can be closed (if we can truly determine that to be the case).

主要言語
Python
スター
29
フォーク
37
平均マージ
1日 10時間
マージ済み PR(30日)
17

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

dandi/dandi-cli のほかの issue

dandi/dandi-cli の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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