When using Python SDK to get the spectrum list, no Argo information is returned
还没有人认领这个 Issue。
评估
调研方向
首先,使用 client.spectrum.apps.list 针对 UDP 应用重现该问题,并将其返回的属性与 TCP 应用的返回属性进行比较。阅读 issue 中链接的 Spectrum 配置文档,并检查 Python SDK 如何映射列表响应。当 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 分钟
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cloudflare/cloudflare-python 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
cloudflare/cloudflare-python#2747 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
cloudflare/cloudflare-python#2718 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
cloudflare/cloudflare-python#2692 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
cloudflare/cloudflare-python#2679 · 4 条评论 · 5 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
cloudflare/cloudflare-python#2745 · 1 条评论 ·
查看 cloudflare/cloudflare-python 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 88/100
use-agent-os/agent-os#3314 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
BasedHardware/omi#15662 · 1 条评论 ·
-
documentation help wanted
难度 2/5 1-3 小时 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 62/100
AiursoftWeb/AnduinOS-2#19 ·