Commit Graph

53 Commits

Author SHA1 Message Date
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
b0c2005288 Adding tests for inject() decorator 2015-03-23 12:19:58 +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
e817f726c2 Fix of bug in Python 2.6 with failed isclass check in inspect module 2015-03-18 12:57:12 +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
0c1c13be33 updating Catalog override method name 2015-03-12 12:45:15 +02:00
Roman Mogilatov
ff4a092dab adding utils tests, fixing of bug in utils with returning True for checked classes, not only instances 2015-03-12 12:01:56 +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
d48616736b updating examples codestyle 2015-03-10 00:43:23 +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
7f88e4ffdd Adding possibility to get all providers by type from catalog 2015-01-28 14:50:48 +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
5462bb91c4 Renaming Catalog class to AbstractCatalog 2015-01-18 02:28:41 +02:00
Roman Mogilatov
98435c953f making cleanup 2015-01-11 18:11:16 +02:00
Roman Mogilatov
143ba92b0a 0.0.4 version 2015-01-11 18:10:11 +02:00
Roman Mogilatov
028e5e9ef7 0.0.3 version 2015-01-11 15:03:45 +02:00