* 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 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>
* Bump version to 4.3.9: FastAPI example
* Reengineer wiring
* Add @inject decorator
* Add .workspace dir to gitignore
* Add generic typing for @inject
* Add type cast for @inject
* Update movie lister example
* Update cli application tutorial
* Update demo example
* Update wiring docs and examples
* Update aiohttp example and tutorial
* Update multiple containers example
* Update single container example
* Update decoupled packages example
* Update django example
* Update asyncio daemon example and tutorial
* Update FastAPI example
* Update flask example and tutorial
* Update sanic example
* Add wiring registry
* Add new line to .gitignore
* Add @inject to the test samples
* Fix flake8 errors