Skip to content

feat(sdk/python): add synchronous PoolManagerSync wrapper#359

Open
wangdengshan wants to merge 1 commit intoalibaba:mainfrom
wangdengshan:feat/sdk-python-pool-manager-sync
Open

feat(sdk/python): add synchronous PoolManagerSync wrapper#359
wangdengshan wants to merge 1 commit intoalibaba:mainfrom
wangdengshan:feat/sdk-python-pool-manager-sync

Conversation

@wangdengshan
Copy link
Contributor

Summary

  • Add synchronous PoolManagerSync wrapper to the Python SDK for blocking pool management
  • Add PoolsSync Protocol (blocking counterpart of async Pools)
  • Add PoolsAdapterSync using httpx.Client with sync_detailed calls
  • Add PoolManagerSync with static create() factory, blocking CRUD methods, and context manager (__enter__/__exit__)
  • Wire into AdapterFactorySync.create_pool_service()
  • Export PoolManagerSync from opensandbox.sync and root __init__

Testing

  • Unit tests
  • 55 tests covering service protocol, adapter HTTP routing, response mapping, manager delegation, lifecycle, and public exports

Breaking Changes

  • None

Checklist

  • Linked Issue or clearly described motivation
  • Added/updated docs (if needed)
  • Added/updated tests (if needed)
  • Security impact considered
  • Backward compatibility considered

- Add PoolsSync Protocol (blocking counterpart of async Pools)
- Add PoolsAdapterSync using httpx.Client with sync_detailed calls
- Add PoolManagerSync with static create() factory, blocking CRUD
  methods, and context manager (__enter__/__exit__)
- Wire into AdapterFactorySync.create_pool_service()
- Export PoolManagerSync from opensandbox.sync and root __init__
- Add 55 tests covering service protocol, adapter HTTP routing,
  response mapping, manager delegation, lifecycle, and public exports
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