(Warning) messages when no cache path is set
評価
調査の方向性
Start by tracing the get_census entry point and locating each place where a missing cache path emits a message. Check how cache paths are currently configured, then verify that one call produces at most one prominent warning and that get_census accepts a cache_path parameter.
索引モデルが issue の本文から書いたものです。
説明
When no cache path is set the package emits a message to inform the user. This happens in several places and can lead to message spam that we should eliminate. It should also get elevated to a warning, there are quite a few cases where users ignore the message and repeatedly hit the API to download the same data.
Some suggestions how to handle this better:
- Reduce message clutter, a
get_censuscall should emit at most one message/warning - Make it more visible, maybe using colour to alert users that this is important
- Expose a cache_path parameter in the
get_censuscall, that makes things more transparent and increases awareness of caching, and it also allows users to set project-specific cache paths if they want to keep a separate cache for a specific project for backup and reproducibility purposes.
- 主要言語
- HTML
- スター
- 90
- フォーク
- 14
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mountainMath/cancensus のほかの issue
-
user agent対応中かも @mountainMath が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
mountainMath/cancensus#231 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
mountainMath/cancensus#234 ·
-
Provide geographic attribute files as hosted parquet, including pre-2006 censuses対応中かも @mountainMath が 3 日前に担当しました。 オープンenhancement
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
mountainMath/cancensus#233 · コメント 2 件 ·
-
Translate API level labelling to "labelled" columns対応中かも @mountainMath が 3 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
mountainMath/cancensus#230 · コメント 1 件 ·
-
French language labels対応中かも @mountainMath が 3 日前に担当しました。 オープンenhancement
難易度 4/5 1〜2日 初心者へのやさしさ 15/100
mountainMath/cancensus#229 · コメント 2 件 ·
mountainMath/cancensus の issue をすべて見る
似ている issue
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cloudflare/workerd#8290 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
daniel-ospina/tortoise#11586 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
0xPlaygrounds/rig#3176 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信