* Add example for Annotated attribute injection for module/class attributes
* Fix attribute injection with Annotated types
* Add unit tests for Annotated attribute and argument injection in wiring
* Add .cursor to .gitignore
* Style: add blank lines between class definitions and attributes in annotated attribute example
* Docs: clarify and format module/class attribute injection for classic and Annotated forms
* Changelog: add note and discussion link for Annotated attribute injection support
* Fix nls
* Fix CI checks and Python 3.8 tests
* Fix PR issues
* Fix Python 3.8 tests
* Fix flake8 issues
* Fix: robust Annotated detection for wiring across Python versions
* Refactor: extract annotation retrieval and improve typing for Python 3.9 compatibility
* Update src/dependency_injector/wiring.py
Co-authored-by: ZipFile <zipfile.d@protonmail.com>
---------
Co-authored-by: ZipFile <zipfile.d@protonmail.com>
* Add support for Pydantic v2 settings
* Configure pipeline to run tests against different pydantic versions
* Update Pydantic docs and examples for v2
* Fix compatibility with httpx v0.27.0
* Add Python 3.12 Support (#752)
* Ignore .vscode
* Python 3.12 Support
* Change base python to 3.12 and pin pydantic to V1
* all tests passed
* ci: change default python to 3.12
* remove legacy python versions
* annotate pydantic models for tests
* Update publishing pipeline to use Python 3.12
* Test environment updates
* Update Cython to the latest prior 3.0 version and remove tracing from CI/CD
* Give up using editable tox installation in the coverage job
* Add mypy test fixes
* Remove tracing from the coverage job
* Fix typing test
* Remove PyPy 2.7
* Fix typing test
* Fix the typing issue with pydantic
* Remove pypy 3.9
* Fix the typing issue with mypy
* Update pydantic version to the latest from 1.x
* Update scipy deprecation warning filter
* Fix the tox job running coveralls
* Update changelog
---------
Co-authored-by: Anton Petrov <anton.a.petrov@gmail.com>
* Refactor patched callables registry and injections storage principles
* Rename properties of PatchedRegistry
* Add typing improvements in wiring module
* Add __slots__ for PatchedAttribute
* Minor code style fixes
* Add test
* Rename test
* Update typing in test
* Make minor style fixes to test
* Update changelog
* Add documentation on the @inject decorator