Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

ApplicationObject's refreshall limits to 50 results

Aperta
#602 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
api, documentation

Direzione di ricerca

Start with examples/bulk_address_objects.py, linked in the issue, and review how ApplicationObject.refreshall is presented there. Document the 50-object pagination behavior and the supported way to retrieve additional objects, if one is available in the SDK. The documentation is done when users can understand the limit and how to fetch all results.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

documentation

Documentation link

https://github.com/PaloAltoNetworks/pan-os-python/blob/develop/examples/bulk_address_objects.py

Describe the problem

The documentation does not mention that the Panorama SDK paginates Application objects with a default limit of 50, and the pan-os-sdk does not automatically handle pagination.

As a result, calling:

objects = ApplicationObject.refreshall(panorama)

returns only 50 application objects, even when more exist.

There is also no documented method in the SDK (such as chunk_size or limit) to override the limit or to auto-paginate, which leads to confusion.

Is it possible to fetch all the objects using pagination or any other approach ?

Lingua principale
Python
Stelle
402
Fork
199
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PaloAltoNetworks/pan-os-python

Tutte le issue di PaloAltoNetworks/pan-os-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.