dev #5

Merged
gitark merged 8 commits from dev into main 2026-07-23 13:11:55 +03:00

8 Commits

Author SHA1 Message Date
IluaAir
ae1e69d5fd Refactor dump_json method to use model_dump_json
All checks were successful
CI / lint (pull_request) Successful in 1m0s
CI / test (3.10) (pull_request) Successful in 27s
CI / test (3.11) (pull_request) Successful in 35s
CI / test (3.12) (pull_request) Successful in 36s
CI / test (3.13) (pull_request) Successful in 37s
CI / ci-success (pull_request) Successful in 2s
- Fix the `dump_json` method in the `ModelView` class to call `model_dump_json` instead of `model_dump`, ensuring consistency in JSON serialization.
- Added a new test case in `TestListModelView` to verify the functionality of `dump_json` and check for correct IP address serialization.
2026-07-23 11:15:10 +03:00
IluaAir
260c02f81d Add type hints and docstrings for VLANs, Interfaces, and System properties in NodeConfig
- Enhanced the `vlans`, `interfaces`, and `system` properties with type hints for better clarity and type checking.
- Added detailed docstrings to each property, describing the return types and structure of the associated configurations.
2026-07-23 10:24:51 +03:00
sttarsky
6bc47f1b4f Merge branch 'main' into dev 2026-07-19 10:28:04 +03:00
sttarsky
472508d51d Merge pull request #4 from sttarsky/sttarsky-patch-1
Bump version from 0.1.1 to 0.1.2
2026-07-15 16:02:05 +03:00
sttarsky
663cbad352 Bump version from 0.1.1 to 0.1.2 2026-07-15 16:01:21 +03:00
sttarsky
79dbb99186 Merge pull request #3 from sttarsky/dev
Dev v0.1.2
2026-07-15 15:58:14 +03:00
sttarsky
721d4b27ca Merge pull request #2 from sttarsky/dev
Dev
2026-07-15 00:54:46 +03:00
sttarsky
62530980aa Merge dev into main: initial oxipy release
Oxidized API client with TTP-based, multi-vendor config parsing into
Pydantic models.
- Core API: OxiAPI, Node, NodeView, NodeConfig, ModelView
- HTTP layer with retries/timeout and OxiAPIError (NodeNotFound -> 404)
- Vendor parsers: Keenetic, MikroTik, Qtech, Huawei, Eltex, H3C, Quasar
- Shared utils: VLAN range expansion, UTF-8 decoding
- Test suite: golden fixtures per vendor + unit/network/view tests
- Tooling: Ruff lint/format config, CI for GitHub and Gitea
- Docs: README + extending-models and templates guides
2026-06-12 20:41:34 +03:00