cloudflare / cloudflare/cloudflare-python

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

未關閉
#2,676 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
506
分支
148
平均合併
3 小時 15 分鐘
30 天內合併 PR
1

描述

### Confirm this is a Python library issue and not an underlying Cloudflare API issue.

- [x] 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](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

```Python

```

### OS

linux

### Python version

3.9.0

### Library version

v4.2.0

貢獻指南

開啟貢獻指南

研究方向

首先,使用 client.spectrum.apps.list 針對 UDP 應用程式重現此問題,並將其傳回的屬性與 TCP 應用程式的屬性進行比較。閱讀 issue 中連結的 Spectrum 設定文件,並檢查 Python SDK 如何對應清單回應。當 UDP 回應以與 API 和文件一致的方式公開可用的 Argo 資訊時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
api
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。