PaloAltoNetworks / PaloAltoNetworks/pan-os-python
Getting args error when calling updater
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 400
- Forks
- 199
- PR merge metrics
- No merged PRs in 30d
Description
update = updater.ContentUpdater(fw_1)
update.download_install(sync_to_peer=False)
Also tried it like this
update.download_install()
ERROR
update.download_install()
self.download(version, sync_to_peer=sync_to_peer, sync=True)
typeError: download() got multiple values for keyword argument 'sync_to_peer'
Looks like it is calling the wrong class.....
Thoughts ?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at ContentUpdater.download_install and follow the shown call to download(), comparing how sync_to_peer is passed when download_install() is called with and without the argument. Done means both invocation forms complete without the reported multiple-values TypeError and use the intended updater behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100