python-dependency-injector/tests/unit/samples/wiringsamples/module_invalid_attr_injection.py
Roman Mogylatov da13341453
Wiring: attribute injections (#414)
* Add implementation

* Add tests for module and class

* Add tests for module and class for string ids

* Update tests with typing

* Add tests for invalid type of marker

* Add docs and the example

* Update changelog

* Fix Python 3.6 tests and flake8
2021-02-28 21:07:50 -05:00

9 lines
203 B
Python

"""Test module for wiring with invalid type of marker for attribute injection."""
from dependency_injector.wiring import Closing
from .container import Container
service = Closing[Container.service]