Skip to content

feat(logs): write_logs on api.logs and the missing hub log routes - #59

Merged
Domantas merged 3 commits into
mainfrom
feat/logs-stage-a
Oct 21, 2026
Merged

Domantas merged 3 commits into
mainfrom
feat/logs-stage-a

Conversation

@Domantas

Copy link
Copy Markdown
Contributor

Logs campaign, item 6 (Python SDK).

  • New api.logs.write_logs(entries=[...]) — POST /{version}/logs on the Api (sync + async, also NorbixApi.logs).
  • hub.logs gains the missing routes (finding L12): get_logs, get_log, clean_logs, get_log_settings, save_log_settings. Every logs verb checked against the gateway manifest (enable/disable are PUT — L22 stays fixed).
  • Docs: new docs/api/logs.md (fields, limits, refusals incl. 429 CM-ERRORS-LOGGING-003); docs/hub/logs.md lists all 15 routes and says to call test_logging_integration after saving an integration — nothing is delivered until its last test passed (L29).

Tests: make check green — ruff, mypy, pytest 1150 passed (1137 before, +13 new).

Expected release: v3.27.0 (minor).

🤖 Generated with Claude Code

Domantas and others added 3 commits October 21, 2026 21:15
- api.logs.write_logs(entries=[...]) — POST /{version}/logs on the Api
  (sync and async; also NorbixApi.logs).
- hub.logs: get_logs, get_log, clean_logs, get_log_settings,
  save_log_settings (finding L12), verbs checked against the manifest.
- save/test logging integration docstrings say nothing is delivered until
  the last test passed (L29).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…integration

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Domantas
Domantas merged commit f878daa into main Oct 21, 2026
9 checks passed
@Domantas
Domantas deleted the feat/logs-stage-a branch October 21, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant