di
di copied to clipboard
Pythonic dependency injection
Because of the fundamental design decision of executors controlling execution of non-context manager dependencies and setup of context manager dependencies but _not_ teardown of context manager dependencies (those get run...
managing threads is complicated and problematic, unless we figure out a really clean transperent way to do this it's probably best for users to decorarte their functions or otherwise take...
General idea: in most cases, there are a couple dependencies with a well defined scope (for example, an HTTP request scoped to a `"request"` scope). For the rest, users don't...
What happens when the same dependency is declared with different scopes for a given DAG? Currently they are treated as different dependencies. But customizing `DependantBase.cache_key` they can be made to...
It would be super useful to be able to type check `foo: Annotated[int, Dependant(returns_str)]`
I'm working in adding some missing documentation to: - Container - SolvedDependant - Dependant - Dependant - Marker - AsyncExecutor I was wondering if adding [mkdocstrings](https://mkdocstrings.github.io/) would be welcomed as...
The readme mentions there's a plan for a stable release, and breaking changes can be introduced before that. Is there still one?
Since graphlib2 is a drop-in replacement for the stldib, can we make it an optional extra? I'm looking to package this for Fedora and avoiding another transitive dep might make...