cloudflare / cloudflare/cloudflare-python
When using Python SDK to get the spectrum list, no Argo information is returned
- Linguagem predominante
- Python
- Estrelas
- 506
- Forks
- 148
- Merge médio
- 3h 15min
- PRs com merge (30d)
- 1
Descrição
### 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
Guia de contribuição
Direção de pesquisa
Comece reproduzindo o problema com client.spectrum.apps.list para um app UDP e compare as propriedades retornadas com as de um app TCP. Leia a documentação de configuração do Spectrum vinculada na issue e inspecione como o Python SDK mapeia a resposta da listagem. Considera-se concluído quando a resposta UDP expuser as informações disponíveis do Argo de forma consistente com a API e a documentação.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- api
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Pouca atividade
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 48/100