Commit Graph

51 Commits

Author SHA1 Message Date
Roman Mogilatov
2c2d4f7434 Removing of Factory restriction to operate with class types only, factory methods are valid now 2015-07-24 00:28:52 +03:00
Roman Mogilatov
040aad93f8 Make all protected attributes _protected 2015-07-22 16:42:36 +03:00
Roman Mogilatov
541d3c0e4b Refactoring of utils checks 2015-07-22 10:53:16 +03:00
Roman Mogilatov
1b4c6dbf8b Renaming of Provider.__provide__() -> Provider._provide() for improving providers extending 2015-07-22 10:26:34 +03:00
Roman Mogilatov
7d3460deba Add functionality for resetting of last overriding provider 2015-07-21 09:29:50 +03:00
Roman Mogilatov
e3ea517d72 Minor ExternalDependency provider updates, Adding ExternalDependency provider docs 2015-06-18 16:34:26 +03:00
Roman Mogilatov
b055a86c92 Improving of Providers extending 2015-05-25 10:45:52 +03:00
Roman Mogilatov
a5337b2fc8 Last modifications on NewInstance to Factory provider renaming 2015-05-14 11:59:47 +03:00
Roman Mogilatov
c824eae566 Renaming NewInstance provider to Factory provider 2015-05-14 11:35:41 +03:00
Roman Mogilatov
264a12daaf Removing class service variables from __slots__ list 2015-03-26 01:38:48 +02:00
Roman Mogilatov
65f7704463 Minor refactoring 2015-03-23 16:27:48 +02:00
Roman Mogilatov
1032143f5b Renaming InitArg to KwArg, adding @inject decorator 2015-03-23 01:04:18 +02:00
Roman Mogilatov
6bbf7e3526 Remove providers.Scoped because it being has not yet justified 2015-03-22 00:36:59 +02:00
Roman Mogilatov
eaf5179c76 Provider.overridden lazy initialization 2015-03-20 15:16:11 +02:00
Roman Mogilatov
27bf9e0a8e Remove ExternalDependency.satisfy() in favor of inherited Provider.override() 2015-03-20 14:53:47 +02:00
Roman Mogilatov
3b880d12a5 Add ability to reset provider override 2015-03-20 13:32:11 +02:00
Roman Mogilatov
87fc17284c adding positional arg numbers for Python 2.6 compatibility 2015-03-18 12:48:19 +02:00
Roman Mogilatov
e0cefd0fa1 Remove unused import from providers 2015-03-16 15:11:41 +02:00
Roman Mogilatov
0dbc7a5b58 Add docblock updates for providers.Config 2015-03-16 15:10:39 +02:00
Roman Mogilatov
47d33e524c Add tests for providers.Config & refactoring of it 2015-03-16 15:09:01 +02:00
Roman Mogilatov
1736a6e008 Add check for callable in providers.Callable.__init__ 2015-03-16 11:52:53 +02:00
Roman Mogilatov
65f47b1222 Minor providers.Config refactoring 2015-03-16 11:41:42 +02:00
Roman Mogilatov
08c7e7048f Add tests for providers.Callable & minor refactoring 2015-03-16 01:56:23 +02:00
Roman Mogilatov
d36e01bf3e Add tests for providers.ExternalDependency & refactoring 2015-03-16 01:10:43 +02:00
Roman Mogilatov
37f8382f4b Add tests for providers.Scoped & little test refactoring 2015-03-15 15:31:05 +02:00
Roman Mogilatov
7ab731eacc Add support of multiple scopes for providers.Scoped 2015-03-15 01:18:59 +02:00
Roman Mogilatov
fa113af977 Test for providers.Singleton 2015-03-15 00:50:24 +02:00
Roman Mogilatov
91ea284723 Some tests for NewInstance provider, NewInstance provider refactoring 2015-03-14 15:57:30 +02:00
Roman Mogilatov
6567ee2b4d renaming ProviderDelegate to Delegate 2015-03-14 00:02:01 +02:00
Roman Mogilatov
abdb1eeac0 adding tests for ProviderDelegate, making of some refactoring 2015-03-13 17:46:03 +02:00
Roman Mogilatov
9d72eaf675 adding objects-specific errors 2015-03-13 17:31:07 +02:00
Roman Mogilatov
5852d38b00 removing typo 2015-03-12 12:49:54 +02:00
Roman Mogilatov
a964f55802 minor codestyle fixes 2015-03-12 12:49:30 +02:00
Roman Mogilatov
c7af4d2f8b adding some checks for Provider and minor codestyle fixes 2015-03-12 12:45:51 +02:00
Roman Mogilatov
dbde2b157e refusing of filter builtin function 2015-03-11 15:27:38 +02:00
Roman Mogilatov
e61e495931 switch to using utils module for type checks & and adding slots 2015-03-11 15:18:42 +02:00
Roman Mogilatov
3b37476d23 minor codestyle fixes 2015-03-10 11:51:13 +02:00
Roman Mogilatov
6eadac8a75 some improvements for ProviderDelegate 2015-03-09 00:24:46 +02:00
Roman Mogilatov
e1f2d5e3b8 making pep257 and flake8 happy 2015-03-09 00:01:39 +02:00
Roman Mogilatov
16799e414b Refactoring of ProviderDelegate 2015-02-25 01:48:51 +02:00
Roman Mogilatov
76e14c1c79 codestyle fixes 2015-02-23 10:47:38 +02:00
Roman Mogilatov
b6961f9311 updating delegate implementation 2015-02-23 00:19:23 +02:00
Roman Mogilatov
039e211a09 0.4.1 adding provider delegate 2015-02-23 00:16:27 +02:00
Roman Mogilatov
8233312c15 codestyle fixes 2015-01-28 14:25:27 +02:00
Roman Mogilatov
158b6fcd9e Adding config provider 2015-01-28 13:08:54 +02:00
Roman Mogilatov
3786b052a9 adding callable provider with examples 2015-01-28 00:48:33 +02:00
Roman Mogilatov
1cdf393f56 adding scoped provider with examples 2015-01-28 00:21:31 +02:00
Roman Mogilatov
1631978790 0.2.1, ExternalDependency can take several types 2015-01-24 00:31:30 +02:00
Roman Mogilatov
92254b0276 version 0.2.0, external dependency provider has been added 2015-01-23 01:42:59 +02:00
Roman Mogilatov
143ba92b0a 0.0.4 version 2015-01-11 18:10:11 +02:00