Commit Graph

1588 Commits

Author SHA1 Message Date
Roman Mogylatov
89fec6c905 Merge branch 'release/3.35.0' into master 2020-09-01 21:40:31 -04:00
Roman Mogylatov
0985635ea6 Bump version to 3.35.0 2020-09-01 21:40:14 -04:00
Roman Mogylatov
c4b33749d2
Providers docs update (#289)
* Update callable provider docs

* Update coroutine provider docs

* Edit object docs

* Edit list provider docs

* Edit configuration provider docs

* Edit selector provider docs

* Fix mypy stub of the ``DeclarativeContainer`` to specify the ``__init__`` interface

* Edit Dependency provider docs
2020-09-01 21:39:23 -04:00
Roman Mogylatov
995b2165df Update changelog 2020-09-01 16:05:58 -04:00
Roman Mogylatov
0bb30f91ef
Singleton docs update (#288)
* Update docblocks of factory provider examples

* Edit singleton docs
2020-09-01 16:04:48 -04:00
Roman Mogylatov
520945483f Merge branch 'release/3.34.0' into master 2020-08-31 21:29:26 -04:00
Roman Mogylatov
0d9aaaac0b Bump version to 3.34.0 2020-08-31 21:29:05 -04:00
Roman Mogylatov
1ad852d193
Factory provider docs update (#287)
* Update index page

* Update providers index page

* Make a little wording fix on containers index page

* Refactor factory provider docs header

* Update factory injection docs

* Update factory init injections example and picture

* Start work on underlying providers

* Finish the docs for factory arguments to the underlying providers

* Edit providers delegation section

* Edit section about specialized factory provider

* Edit abstract factory section

* Edit FactoryAggregate docs

* Add meta keywords and description
2020-08-31 21:26:21 -04:00
Roman Mogylatov
f83d8ce143 Merge branch 'release/3.33.0' into master 2020-08-26 22:25:41 -04:00
Roman Mogylatov
3c27cd6ab2 Bump version to 3.33.0 2020-08-26 22:25:22 -04:00
Roman Mogylatov
2e940adb50
Typing stubs (#286)
* Add basic setup

* Add more tests for factory

* Add mypy checks to CI

* Add mypy checks to makefile command

* Add typing for the factories

* Add stub for Callable providers

* Add typing module and object provider stubs

* Fix typing test issue

* Remove typing module

* Add Delegate stub

* Add stub for Dependency provider

* Add stub for ExternalDependency

* Add stubs for providers module functions

* Add stubs for the DependenciesContainer provider

* Add stub for the CallableDelegate provider

* Add stubs for Coroutine providers

* Add stubs for the configuration options

* Add stub for the FactoryDelegate

* Add stub for the FactoryAggregate provider

* Add singleton stubs

* Add stubs for singletons

* Add stub for the List provider

* Add stub for the Container provider

* Add stub for the Selector provider

* Add stubs for the dynamic container

* Add stub for the declarative container

* Add stubs for the extensions

* Add types module for explicit provider typing

* Set absolute import mode for the providers module and add types module test

* Skip typing test for Python 3.5

* Remove coroutine test from py35

* Fix py35 tests

* Add \n to the tox.ini
2020-08-26 22:24:20 -04:00
Roman Mogylatov
47f4279ccd Merge branch 'release/3.32.3' into master 2020-08-26 16:35:51 -04:00
Roman Mogylatov
15acccf48f Bump version to 3.32.3 2020-08-26 16:35:31 -04:00
Roman Mogylatov
0c868fc0db Merge branch 'release/3.32.2' into master 2020-08-26 16:25:20 -04:00
Roman Mogylatov
cc7ade89d7 Bump version to 3.32.2 2020-08-26 16:24:59 -04:00
Roman Mogylatov
9d85b63c3b Make a fix in the providers delegation example 2020-08-26 16:22:54 -04:00
Roman Mogylatov
2b30e172d1 Merge branch 'release/3.32.1' into master 2020-08-25 10:27:41 -04:00
Roman Mogylatov
3f94a900a4 Bump version to 3.32.1 2020-08-25 10:27:24 -04:00
Roman Mogylatov
6c7c9eaa47 Update example 2020-08-25 10:27:11 -04:00
Roman Mogylatov
0f952b5915 Merge branch 'release/3.32.0' into master 2020-08-24 13:38:25 -04:00
Roman Mogylatov
fcbab97db2 Bump version to 3.32.0 2020-08-24 13:38:08 -04:00
Roman Mogylatov
f5b97ca92e
Configuration option typed injections (#284)
* Add implementation and tests

* Add docs page and examples

* Revert the api_client miniapp accidental changes
2020-08-24 13:34:47 -04:00
Roman Mogylatov
69ebc19b5f Merge branch 'release/3.31.0' into master 2020-08-20 21:59:25 -04:00
Roman Mogylatov
cc8536b5e4 Bump version to 3.31.0 2020-08-20 21:59:09 -04:00
Roman Mogylatov
c05f2b2e42 Add JarnoRFB to the list of contributors 2020-08-20 21:53:16 -04:00
Roman Mogylatov
cf862fe8b5
Provided attributes (#282)
* Add sketch

* Cythonize MethodCaller

* Cythonize ItemGetter, AttributeGetter & ProvidedInstance providers

* Add docblock for .provided attribute

* Refactor repr methods

* Add .provided attribute to the Dependency provider

* Add tests for the .provided attribute to the majority of the providers

* Add docblock for the ProvidedInstance provider

* Add docblocks for the rest of the providers

* Add example of the provided instance usage

* Add tests for provided instance* providers

* Add complex provided instance example

* Update example provided_instance.py

* Add docs
2020-08-20 21:52:12 -04:00
Roman Mogylatov
50a9dda192 Merge branch 'release/3.30.4' into master 2020-08-16 01:16:40 -04:00
Roman Mogylatov
e15a6dbb1d Bump version to 3.30.4 2020-08-16 01:16:25 -04:00
Roman Mogylatov
597f6794a9 Merge branch 'release/3.30.3' into master 2020-08-16 01:13:47 -04:00
Roman Mogylatov
01a18bc2ff Bump version to 3.30.3 2020-08-16 01:13:32 -04:00
Roman Mogylatov
d2828519b4 Update container overriding docs 2020-08-16 01:10:08 -04:00
Roman Mogylatov
75c65f334e Update container provider type specialization docs 2020-08-16 00:53:37 -04:00
Roman Mogylatov
cfdcbaa77a Improve declarative and dynamic container docs 2020-08-15 22:09:41 -04:00
Roman Mogylatov
e0fa746d7f Update DI Demo 2 2020-08-15 11:01:58 -04:00
Roman Mogylatov
e479e2cb94 Update the declarative container docs 2020-08-14 16:27:17 -04:00
Roman Mogylatov
925801c73f Add overriding demo to the README 2020-08-14 15:49:31 -04:00
Roman Mogylatov
684745a6b4 Add providers overriding to demo 2 2020-08-14 15:31:33 -04:00
Roman Mogylatov
88866d596b Merge branch 'release/3.30.2' into master 2020-08-13 22:57:51 -04:00
Roman Mogylatov
ac6412bd41 Bump version to 3.30.2 2020-08-13 22:57:34 -04:00
Roman Mogylatov
32a4add687 Merge branch 'release/3.30.1' into master 2020-08-13 21:55:02 -04:00
Roman Mogylatov
f67dab1f03 Bump version to 3.30.1 2020-08-13 21:53:13 -04:00
Roman Mogylatov
3ddf131180 Merge branch 'release/3.30.0' into master 2020-08-12 17:07:01 -04:00
Roman Mogylatov
2f42de9fa1 Bump version to 3.30.0 2020-08-12 17:06:40 -04:00
Roman Mogylatov
5358dd85f1
Movie lister example rework (#280)
* Rework movie lister example app

* Code style fix

* Doc block fix

* Update the container

* Make second round of the refactoring

* Rename name to title

* Remove old movie lister docs from the examples

* Add fixtures generator output on success

* Update docblock in the entities module

* Update example readme

* Add CLI app tutorial

* Update some wording in the other tutorials

* Spread link to the tutorial

* Fix code indentation issue
2020-08-12 17:04:46 -04:00
Roman Mogylatov
ca18fea26c Merge branch 'release/3.29.0' into master 2020-08-10 22:32:40 -04:00
Roman Mogylatov
3c69b4683f Bump version to 3.29.0 2020-08-10 22:32:29 -04:00
Roman Mogylatov
bb1403b5e9 Update docs index and key features page 2020-08-10 22:29:25 -04:00
Roman Mogylatov
1c189c47e2
Update README.rst (#279)
* Make the message direct
* Emphasise the differences
* Change example code
* Add FAQ
2020-08-10 22:23:12 -04:00
Roman Mogylatov
d8102a825f Merge branch 'release/3.28.1' into master 2020-08-10 15:51:01 -04:00
Roman Mogylatov
ed2a795581 Bump version to 3.28.1 2020-08-10 15:50:51 -04:00