Skip to content

improve action scope API and docs#1

Merged
lesnik512 merged 1 commit intomainfrom
improve
Apr 25, 2026
Merged

improve action scope API and docs#1
lesnik512 merged 1 commit intomainfrom
improve

Conversation

@lesnik512
Copy link
Copy Markdown
Member

  • Remove global _container; store container in app context_settings so each Typer app carries its own container
  • Make build_command_container private (_build_command_container)
  • Inject modern_di.Container directly in test_action_scope, using Container as context manager for ACTION child
  • Update README: use context manager to close container, add action scope example

- Remove global _container; store container in app context_settings so each Typer app carries its own container
- Make build_command_container private (_build_command_container)
- Inject modern_di.Container directly in test_action_scope, using Container as context manager for ACTION child
- Update README: use context manager to close container, add action scope example
@lesnik512 lesnik512 self-assigned this Apr 25, 2026
@lesnik512 lesnik512 merged commit 770c5de into main Apr 25, 2026
6 checks passed
@lesnik512 lesnik512 deleted the improve branch April 25, 2026 11:27
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