cloudflare / cloudflare/cloudflare-python

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

Abierto
#2,676 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
506
Forks
148
Merge medio
3 h 15 min
PR fusionados (30 d)
1

Descripción

### 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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza reproduciendo el problema con client.spectrum.apps.list para una aplicación UDP y compara sus propiedades devueltas con las de una aplicación TCP. Lee la documentación de configuración de Spectrum enlazada en el issue e inspecciona cómo el Python SDK asigna la respuesta de la lista. Se considera terminado cuando la respuesta UDP expone la información de Argo disponible de forma coherente con la API y la documentación.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
api
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.