<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pyvyos.git/tests/utils, branch dependabot/github_actions/astral-sh/setup-uv-8.2.0</title>
<subtitle>Python SDK for interacting with VyOS API (mirror of https://github.com/vyos-contrib/pyvyos.git)
</subtitle>
<id>https://git.amelek.net/vyos-contrib/pyvyos.git/atom?h=dependabot%2Fgithub_actions%2Fastral-sh%2Fsetup-uv-8.2.0</id>
<link rel='self' href='https://git.amelek.net/vyos-contrib/pyvyos.git/atom?h=dependabot%2Fgithub_actions%2Fastral-sh%2Fsetup-uv-8.2.0'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/pyvyos.git/'/>
<updated>2026-05-19T02:32:04+00:00</updated>
<entry>
<title>refactor: remove unused specs, exceptions, and request_id</title>
<updated>2026-05-19T02:32:04+00:00</updated>
<author>
<name>Roberto Bertó</name>
<email>463349+robertoberto@users.noreply.github.com</email>
</author>
<published>2026-05-19T02:32:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/pyvyos.git/commit/?id=0f76bcc7179976e893b1d9f296b1b1e7988b0031'/>
<id>urn:sha1:0f76bcc7179976e893b1d9f296b1b1e7988b0031</id>
<content type='text'>
The pyvyos.specs Pydantic models were never imported by the runtime and
had 0% test coverage. The pyvyos.exceptions hierarchy was defined but
never raised anywhere. The request_id helper generated UUIDs that were
attached to log records but never propagated to callers — half-implemented
tracing is worse than none.

This commit does not alter request/response logic or HTTP payloads. It
only removes code that was never executed and tests for that code.

Removed:
- pyvyos/specs/ (Pydantic models package)
- pyvyos/exceptions.py (SDKError, HttpError, ApiError, ValidationError)
- pyvyos/utils/ids.py (request_id helper)
- tests/test_exceptions.py
- tests/utils/test_ids.py

Edited:
- pyvyos/core/rest_client.py: drop request_id import and log extras
- pyvyos/utils/__init__.py: drop request_id export

Tests: 66 -&gt; 57 passing. Coverage: 54% -&gt; 87%.
Public API unchanged.
</content>
</entry>
<entry>
<title>feat: v0.4.0 - Architecture refactor, bug fixes, and quality improvements</title>
<updated>2025-11-02T22:54:44+00:00</updated>
<author>
<name>roberto berto</name>
<email>rberto@deepcausa.com</email>
</author>
<published>2025-11-02T22:54:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/pyvyos.git/commit/?id=6b4e9015744ab8c9f17a6b8e23387cd676b1d827'/>
<id>urn:sha1:6b4e9015744ab8c9f17a6b8e23387cd676b1d827</id>
<content type='text'>
- Fixed #25: config_file_save/load now include path: [] in payload
- Added exception hierarchy (SDKError, HttpError, ApiError, ValidationError)
- Added utility functions (json, ids, paths)
- Added structured logging with request ID tracking
- Added optional Pydantic validation models
- Refactored to pyvyos.core.* structure with backward compatibility shims
- Moved JSON specs to docs/development/vyos_api/
- Added comprehensive test suite (19 shim tests, 16 utils tests, 6 exception tests)
- Updated pyproject.toml for uv sync editable installation
- Added development documentation (architecture, roadmap, quality guidelines)

Maintains 100% backward compatibility with 0.3.0
</content>
</entry>
</feed>
