Commit Graph

1504 Commits

Author SHA1 Message Date
Roman Mogylatov
12eddabdd9 Update key features 2020-09-30 17:16:45 -04:00
Roman Mogylatov
f7d3ada92f Update DI in Python page 2020-09-30 16:47:37 -04:00
Roman Mogylatov
65c883ad57 Add minor improvement to wiring doc 2020-09-30 11:29:35 -04:00
Roman Mogylatov
4c039d012e Add a note on individuals import to wiring docs 2020-09-29 23:54:25 -04:00
Roman Mogylatov
6e53a7c0c6 Remove unused import 2020-09-29 23:49:52 -04:00
Roman Mogylatov
949a91b657 Add wiring of class methods 2020-09-29 23:40:13 -04:00
Roman Mogylatov
c4b5494b6b Add wiring docs 2020-09-29 22:29:24 -04:00
Roman Mogylatov
b4890dcf80 Bump version to 4.0.0a2 2020-09-28 16:33:39 -04:00
Roman Mogylatov
d9334ef1fe Add protection for wiring only declarative container instances 2020-09-28 15:52:21 -04:00
Roman Mogylatov
cc1b6ba3e6 Add __all__ for wiring module 2020-09-28 15:39:41 -04:00
Roman Mogylatov
42b0bde8d2 Deprecate provider.delegate() method 2020-09-28 15:38:34 -04:00
Roman Mogylatov
5d4eeb648a Deprecate ext package modules and remove types module 2020-09-28 14:16:05 -04:00
Roman Mogylatov
26e490bf0a Add container.unwire() typing stub 2020-09-28 13:41:54 -04:00
Roman Mogylatov
6182b8448a
Wiring refactoring (#296)
* Refactor wiring

* Add todos to wiring

* Implement wiring of config invariant

* Implement sub containers wiring + add tests

* Add test for wiring config invariant
2020-09-27 23:10:11 -04:00
Roman Mogylatov
7f854548d6 Make flake8 happy 2020-09-26 01:17:42 -04:00
Roman Mogylatov
95db0eddc9 Implement Provide[foo.provided.bar.baz.call()] 2020-09-26 01:07:32 -04:00
Roman Mogylatov
6d92df32aa Implement wiring for Provide[foo.provider] 2020-09-26 00:31:29 -04:00
Roman Mogylatov
c20c57ae7c Update demo 2020-09-26 00:23:11 -04:00
Roman Mogylatov
7b2baeeb6f Remove not needed images 2020-09-24 20:51:45 -04:00
Roman Mogylatov
9653dfc263 Add sanic example 2020-09-23 18:29:13 -04:00
Roman Mogylatov
e37b5181e4 Rename views module to handlers in aiohttp example 2020-09-23 15:58:36 -04:00
Roman Mogylatov
a9970b63b9 Rename aiohttp example directory 2020-09-22 22:03:49 -04:00
Roman Mogylatov
170819c6ed Update flask example 2020-09-22 22:03:02 -04:00
Roman Mogylatov
4fab71c35b Update aiohttp example 2020-09-22 21:48:41 -04:00
Roman Mogylatov
170263de4d Add flake8 ignore for demo 2020-09-21 16:55:42 -04:00
Roman Mogylatov
b7efb1e3e2 Add pydocstyle ignore for demo 2020-09-21 16:51:57 -04:00
Roman Mogylatov
dd8778bf20 Updaet demo example 2020-09-21 16:46:02 -04:00
Roman Mogylatov
edd8979bf6 Bump version to 4.0 2020-09-20 21:51:48 -04:00
Roman Mogylatov
af7364e062
Add wiring (#294)
* Add wiring module

* Fix code style

* Fix package test

* Add version fix

* Try spike for 3.6

* Try another fix with metaclass

* Downsample required version to 3.6

* Introduce concept with annotations

* Fix bugs

* Add debug message

* Add extra tests

* Add extra debugging

* Update config resolving

* Remove 3.6 generic meta fix

* Fix Flake8

* Add spike for 3.6

* Add Python 3.6 spike

* Add unwire functionality

* Add support of corouting functions
2020-09-20 21:50:25 -04:00
Roman Mogylatov
53b7ad0275 Merge branch 'release/3.44.0' into master 2020-09-13 20:56:13 -04:00
Roman Mogylatov
1f136e427d Bump version to 3.44.0 2020-09-13 20:51:10 -04:00
Roman Mogylatov
9ee4959f76 Update README 2020-09-13 20:48:25 -04:00
Roman Mogylatov
39368591b9 Move generic types test to separate module 2020-09-13 20:38:23 -04:00
Roman Mogylatov
d8439a28b1
Make provider generic type (#293)
* Add __class_getitem__ for Provider to null the typing in runtime

* Make Provider stub generic and remove types module

* Update types module tests

* Return types module with deprecation warning

* Return types module with deprecation warning

* Update changelog

* Add docs page
2020-09-13 20:32:21 -04:00
Roman Mogylatov
f56b5398ef Merge branch 'release/3.43.1' into master 2020-09-09 23:48:30 -04:00
Roman Mogylatov
6febd03646 Bump version to 3.43.1 2020-09-09 23:48:08 -04:00
Roman Mogylatov
0cddc4cf25 Merge branch 'release/3.43.0' into master 2020-09-09 23:36:33 -04:00
Roman Mogylatov
07f050d2ad Bump version to 3.43.0 2020-09-09 23:36:13 -04:00
Roman Mogylatov
203427aa97 Fix few typos 2020-09-09 23:34:59 -04:00
Roman Mogylatov
ffc477d1ee Update API docs 2020-09-09 22:23:28 -04:00
Roman Mogylatov
505ccf5a1d Fix a few typos 2020-09-09 22:23:14 -04:00
Roman Mogylatov
5740dd6df5 Remove not relevant "speech" example 2020-09-09 21:34:30 -04:00
Roman Mogylatov
ac8212a95b Merge branch 'release/3.42.0' into master 2020-09-09 18:02:53 -04:00
Roman Mogylatov
a305660a08 Bump version to 3.42.0 2020-09-09 18:02:37 -04:00
Roman Mogylatov
21764dbeec Fix sphinx warning 2020-09-09 17:59:44 -04:00
Roman Mogylatov
172c175e89 Fix some wording 2020-09-09 17:58:28 -04:00
Roman Mogylatov
8dcf6d99ce Update README 2020-09-09 17:56:48 -04:00
Roman Mogylatov
5cb7917a68 Update changelog 2020-09-09 17:53:19 -04:00
Roman Mogylatov
b4772af2c1 Update README 2020-09-09 17:53:00 -04:00
Roman Mogylatov
7e11d56ad6 Delete "What is DI?" documentation page 2020-09-09 17:52:45 -04:00