Josiah Kaviani

Results 172 issues of Josiah Kaviani

Without defining delegated class for each separated case. Log + instance for every method call. Or cache & instance for every method call. ```python from attrs import define from attrs...

feature

Some classes would define `__new__` method in addition or instead of `__init__` method. In that case, we should analyze new method instead. All error messages should mention new method in...

feature

Sticky scopes should not support `&`, `()`. It should support `in` and `dir` on the other hand. Last statement could be solved by removing `expect.skip_if_context()` from all tests and make...

feature

```python class Container(Injector): app = App host_a, host_b = this.hosts[0], this.hosts[1] @value def hosts(): # asyncio.gather, threading.pool, etc ... ```

documentation

```python with Container as app: ... ``` This code should raise an exception since `app` was not used at all.

feature

If injector successfully executed `one`, `two` and `three` value objects setup steps and we got error in `four` setup step before we even return a sticky scope instance from context...

feature

On python 3.11 `DependencyError` could be a subclass of [exception group](https://peps.python.org/pep-0654/). See https://github.com/proofit404/dependencies/issues/132#issuecomment-1146861668 for more info.

feature

Asynchronous version of #545 for #437.

feature

See https://github.com/proofit404/dependencies/issues/132#issuecomment-1146580634 and https://github.com/proofit404/dependencies/issues/132#issuecomment-1146795375 for more info.

feature