Skip to content

feat(database): Hub record methods, trees, list settings, embed, bundle; Api find_own and merged tree - #32

Merged
Domantas merged 4 commits into
mainfrom
audit/database
Oct 5, 2026
Merged

Domantas merged 4 commits into
mainfrom
audit/database

Conversation

@Domantas

@Domantas Domantas commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Adds the 25 database routes the Python SDK did not call yet (sync and async): 16 Hub record/collection methods (find_records, insert_record, update_one_record, delete_record, count_records, aggregate_records, seed_collection_records, get_collection_indexes, ...), Hub schema list settings / embed / apply-bundle, Hub taxonomy, term and merged trees, and Api find_own and find_merged_term_tree.
  • Untyped like the rest of the SDK (no generator for Python; values pass through **request). No existing method changed. Every existing database method's verb and path was checked against the gateway endpoint manifest from audit/database: all match.
  • Docs: docs/hub/database.md and docs/api/database.md list the new methods with examples; the Hub table also gains the 3 flex integration methods that were missing from the page.

Tests

  • uv run pytest: 865 passed (new: 23 parametrized Hub route cases with the fully resolved path, query/body/header checks, async parity; 3 Api cases). Fake capture transport only.
  • make typecheck (mypy): clean. uv run ruff check .: clean.

Context

Task file: docs/tasks/database-audit.md on branch audit/database of codemash-io/gateway
(/Users/djovaisas/Projects/norbix/worktrees/gateway/audit/database/campaign/docs/tasks/database-audit.md).

Expected version: v3.9.0 (one feat commit, minor).

🤖 Generated with Claude Code

Domantas and others added 4 commits October 5, 2026 10:56
…le; Api find_own and merged tree

Adds the 25 database routes the SDK did not call yet, sync and async:
- Hub records: find_records, find_one_record, insert_record,
  insert_many_records, update_one_record, update_many_records,
  replace_record, delete_record, delete_many_records, count_records,
  distinct_record_values, aggregate_records, execute_records_aggregate,
  change_record_responsibility, seed_collection_records,
  get_collection_indexes.
- Hub schemas: apply_database_schema_bundle, update_database_schema_embed,
  get/update_database_schema_list_settings.
- Hub taxonomies: get_database_taxonomy_tree, get_database_taxonomy_term_tree,
  get_database_merged_term_tree.
- Api: find_own, find_merged_term_tree.

Untyped like the rest of the SDK: values pass through **request.

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

Each new Hub method is checked against its full gateway path and verb; a GET
sends query values, a write sends a JSON body, and the async module has the
same methods. Api find_own and find_merged_term_tree get the same checks.

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

Document is an extended-JSON string and list settings go under "settings",
as the gateway request types define them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… methods; Api find_own and merged tree

The Hub table also gains the three flex integration methods that were in the
SDK but missing from the page, and both index counts are updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Domantas
Domantas merged commit 8c2760e into main Oct 5, 2026
9 checks passed
@Domantas
Domantas deleted the audit/database branch October 5, 2026 07:59
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