Skip to content

feat: add public exports to async_batcher __init__.py#51

Draft
hussein-awala wants to merge 1 commit intomainfrom
feat/init-exports
Draft

feat: add public exports to async_batcher __init__.py#51
hussein-awala wants to merge 1 commit intomainfrom
feat/init-exports

Conversation

@hussein-awala
Copy link
Copy Markdown
Owner

Summary

  • async_batcher/__init__.py was empty — users had to import from deep submodules (e.g., from async_batcher.batcher import AsyncBatcher)
  • Now exports core classes from the top-level package:
    • AsyncBatcher
    • AsyncBatchException
    • QueueFullException
  • Enables: from async_batcher import AsyncBatcher

Test plan

  • All existing imports still work
  • from async_batcher import AsyncBatcher works

🤖 Generated with Claude Code

Export AsyncBatcher, AsyncBatchException, and QueueFullException from
the top-level package so users can import directly from async_batcher
instead of reaching into submodules.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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