Skip to content

feat(1.4a): Python SDK scaffolding#4

Merged
Shaivpidadi merged 1 commit intodevfrom
feat/1.4a-python-sdk-v2
Apr 20, 2026
Merged

feat(1.4a): Python SDK scaffolding#4
Shaivpidadi merged 1 commit intodevfrom
feat/1.4a-python-sdk-v2

Conversation

@Shaivpidadi
Copy link
Copy Markdown
Member

Summary

  • GovernAIClient with precheck(), async_precheck(), budget_check(), context_memory
  • Types mirror TypeScript SDK surface in Python idioms
  • Integration test scaffold

Multica issue

1.4a Python SDK scaffolding (rescued from agent workdir)

Test plan

  • pytest tests/ passes
  • pip install -e . succeeds

…, memory clients

- GovernAIClient with precheck() and async_precheck()
- Type definitions mirroring TypeScript SDK surface
- Integration test scaffold
- pyproject.toml with dev dependencies
Copy link
Copy Markdown
Member Author

@Shaivpidadi Shaivpidadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nexus review (LGTM — cannot formal-approve: gh is authed as PR author). SDK scaffold: sync+async precheck, exponential backoff on 5xx/429, pytest-httpx coverage (happy path, retry, max-retries-exceeded). Nits (non-blocking): tests/test_client.py imports 'time' unused; tests/integration_test.py is a standalone script, not pytest-discoverable. Correctness checks pass.

@Shaivpidadi Shaivpidadi changed the base branch from main to dev April 20, 2026 16:58
@Shaivpidadi Shaivpidadi merged commit 2ccf434 into dev Apr 20, 2026
1 of 5 checks passed
@Shaivpidadi Shaivpidadi deleted the feat/1.4a-python-sdk-v2 branch April 20, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant