When using Python SDK to get the spectrum list, no Argo information is returned

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

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

評価

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

調査の方向性

まず、UDP アプリに対して client.spectrum.apps.list を使って問題を再現し、返されるプロパティを TCP アプリのものと比較します。Issue にリンクされている Spectrum の設定ドキュメントを読み、Python SDK が list のレスポンスをどのようにマッピングしているかを確認します。UDP のレスポンスが、API およびドキュメントと一貫した形で利用可能な Argo 情報を公開すれば完了です。

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

説明

Confirm this is a Python library issue and not an underlying Cloudflare API issue.
  • This is an issue with the Python library
Describe the bug

When using the Python SDK to retrieve the spectrum list, no Argo information is returned:
When the app is TCP type, the argo_smart_routing attribute is returned, but when the app is UDP type, this attribute is not returned. How can I retrieve the Argo information for this app?

The documentation at https://developers.cloudflare.com/spectrum/reference/configuration-options/#argo-smart-routing indicates that Argo is currently a UDP beta version, meaning that Argo is currently available for UDP.

However, in the Python SDK, when getting (not creating or setting) spectrum app properties, Argo information is not returned.

To Reproduce

1、use client.spectrum.apps.list get udp app info

Code snippets

OS

linux

Python version

3.9.0

Library version

v4.2.0

主要言語
Python
スター
509
フォーク
150
平均マージ
3時間 15分
マージ済み PR(30日)
1

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

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

はじめの一歩

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

cloudflare/cloudflare-python のほかの issue

cloudflare/cloudflare-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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