Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

ApplicationObject's refreshall limits to 50 results

オープン
#602 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
api, documentation

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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 ?

主要言語
Python
スター
402
フォーク
199
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PaloAltoNetworks/pan-os-python のほかの issue

PaloAltoNetworks/pan-os-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。