summaryrefslogtreecommitdiff
path: root/examples/basic.py
diff options
context:
space:
mode:
authorRoberto Bertó <463349+robertoberto@users.noreply.github.com>2026-05-19 02:57:11 +0000
committerRoberto Bertó <463349+robertoberto@users.noreply.github.com>2026-05-19 02:57:11 +0000
commit4c19d27c2cf87176dfb983ccc65f2c817ff1f650 (patch)
treee9b42719e7a0360ecf1fe4357b659def0fa83c8a /examples/basic.py
parenta2df70609a4711b4eb673f28cee3e6f72414148a (diff)
downloadpyvyos-4c19d27c2cf87176dfb983ccc65f2c817ff1f650.tar.gz
pyvyos-4c19d27c2cf87176dfb983ccc65f2c817ff1f650.zip
docs: correct README and example to match actual API
- configure_multiple_op uses op_path=, not path= - ApiResponse.result is dict | list | str | None (varies per endpoint), not just dict | list - VYDEVICE_VERIFY_SSL parsing accepts 1/true/yes - describe logging accurately: log records only carry structural fields (no payload, no key); sanitization applies to ApiResponse.request, not to logs; do not claim a NullHandler is attached (none is) - shims at 1.0.0: phrase as a decision deferred to release time
Diffstat (limited to 'examples/basic.py')
-rw-r--r--examples/basic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic.py b/examples/basic.py
index 3a275f4..c133d41 100644
--- a/examples/basic.py
+++ b/examples/basic.py
@@ -69,7 +69,7 @@ def main() -> None:
# Batch multiple configuration operations in a single request.
pprint.pprint(
device.configure_multiple_op(
- path=[
+ op_path=[
{
"op": "set",
"path": [