Commit Graph

34 Commits

Author SHA1 Message Date
Roman Mogilatov
ab7c8ac4d1 Rename Provider.inject() -> Provider.provide_injection() 2016-06-01 19:59:41 +03:00
Roman Mogilatov
99b6e27ab4 Refactor injections 2016-05-29 16:39:39 +03:00
Roman Mogilatov
7729d97a41 Make injections 2 times faster 2016-05-22 15:37:39 +03:00
Roman Mogilatov
65512366d2 Refactor callable and creational providers 2016-05-18 01:17:15 +03:00
Roman Mogilatov
f2a9b35c6d Change style and get first stable run 2016-05-18 00:05:10 +03:00
Roman Mogilatov
2878ea5515 Drop method injections 2016-05-17 22:37:50 +03:00
Roman Mogilatov
040d44d55b Split `providers` module into smaller modules 2016-04-03 22:54:08 +03:00
Roman Mogilatov
1f7a76ef5e Add provider OverridingContext 2016-03-13 22:46:32 +02:00
Roman Mogilatov
86ef17c75a Add storing of originaly decorated instance in @inject decorator 2016-03-01 16:28:05 +02:00
Roman Mogilatov
92a58cd4f9 Move fetch_cls_init() to utils module 2016-03-01 15:42:06 +02:00
Roman Mogilatov
9f2a521888 Refactor inject decorator 2016-03-01 12:25:54 +02:00
Roman Mogilatov
0e5ec6956e Optimize provider calls 2016-02-08 00:29:41 +02:00
Roman Mogilatov
319128260a Add DelegatedCallable, DelegatedFactory & DelegatedSingleton providers 2015-12-28 17:25:25 +02:00
Roman Mogilatov
1ca17fdeff Update injections API docs 2015-12-14 10:22:15 +02:00
Roman Mogilatov
6b098768f6 Update changelog and injections API docs 2015-12-11 11:35:48 +02:00
Roman Mogilatov
9ef7a961f6 Update representation of injections 2015-12-09 19:28:52 +02:00
Roman Mogilatov
5bb20a9c2d Improve representation of injections 2015-12-07 14:31:51 +02:00
Roman Mogilatov
f3538955c8 Update injections module API docs 2015-11-25 15:02:20 +02:00
Roman Mogilatov
a8fb12dcd4 Change scope of IS_PYPY and OBJECT_INIT constants in injections module to protected 2015-11-25 14:40:49 +02:00
Roman Mogilatov
46a89600cb Update injections API docs 2015-11-24 10:33:10 +02:00
Roman Mogilatov
9a5e8f4a5a Update docs for declarative catalogs 2015-11-23 21:46:18 +02:00
Roman Mogilatov
6dc007c8df Add functionality for using positional argument injections with @inject decorator 2015-10-23 14:44:36 +03:00
Roman Mogilatov
59b98959bc Add support of positional argument injections for Callable provider
Also current commit contains:
- Some refactoring of internals
- Additional unit tests for Factory and Singleton providers
2015-10-21 11:47:37 +03:00
Roman Mogilatov
824ed4f3e9 Add support of positional args for Factory & Singleton providers 2015-10-19 14:50:15 +03:00
Roman Mogilatov
c13bee6fb5 Add optimization for Injection.value property 2015-10-19 10:50:17 +03:00
Roman Mogilatov
8ab0cc5e0e Fix PEP257 D211 error 2015-10-11 23:41:55 +03:00
Roman Mogilatov
53e8f62c89 Merge remote-tracking branch 'origin/inject_for_classes' 2015-09-28 22:19:28 +03:00
Roman Mogilatov
512544ea9f Add fix for @inject decorator with classes on PyPy and Py3 2015-09-28 21:55:30 +03:00
Roman Mogilatov
2c85b38113 Fix bug with default object.__init__ in Py3 2015-09-28 14:32:07 +03:00
Roman Mogilatov
1c55f9d645 Add functionality for @inject decorator to work with classes 2015-09-28 14:19:22 +03:00
Roman Mogilatov
6cbd0ce7fc 0.9.5 release 2015-09-14 10:53:24 +03:00
Roman Mogilatov
b5ad081976 Add few minor refactorings 2015-09-03 16:00:23 +03:00
Roman Mogilatov
6ac0e4a04e Add simplified syntax for @inject decorator 2015-09-01 00:30:38 +03:00
Roman Mogilatov
6d0f892f8a Rename Objects to Dependency Injector 2015-08-31 16:31:38 +03:00