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

Open
#2,676 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
api

Research direction

Start by reproducing the issue with client.spectrum.apps.list for a UDP app and compare its returned properties with a TCP app. Read the Spectrum configuration documentation linked in the issue and inspect how the Python SDK maps the list response. Done means the UDP response exposes the available Argo information consistently with the API and documentation.

Written by the indexing model from the issue text.

Description

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

Dominant language
Python
Stars
509
Forks
150
Avg merge
3h 15m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudflare/cloudflare-python

All issues in cloudflare/cloudflare-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.