(Warning) messages when no cache path is set

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

@mountainMath がすでに取り組んでいます。

2026年11月5日 から。

  • #232 @mountainMath による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
r
領域
api

調査の方向性

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_census call 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_census call, 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

mountainMath/cancensus のほかの issue

mountainMath/cancensus の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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