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

Get rid of Class variable storage and move to instance storage

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
api, backend

調査の方向性

まず、REST リクエストで user、password、site_uri がどこに保存され、どのようにアクセスされるかを追跡し、次に異なる Shopify 環境向けにセッションがどのように作成・選択されるかを確認します。production と QA のセッションがメモリ上で共存でき、並行するリクエストが互いの設定を上書きしなくなれば完了です。両方のケースのカバレッジを追加するか実行してください。

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

説明

feature request

I'm building an admin/monitoring server that handles requests from both out production and qa Shopify store.
In the current setup, the user/password/site_uri are stored at the class level, so I can't create a prod session and a qa session and store them in memory.
For every request to the REST server I have to clear the current class variables and set for requested environment.

Additionally, this is not thread safe. If two REST requests arrive at the same time for different endpoints, they will clobber each other.

主要言語
Python
スター
1.4k
フォーク
388
平均マージ
5時間 39分
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

Shopify/shopify_python_api のほかの issue

Shopify/shopify_python_api の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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