Commit Graph

21 Commits

Author SHA1 Message Date
Roman Mogilatov
f27fa60413 Add ThreadLocalSingleton, its delegated version and example of usage 2016-08-17 00:03:26 +03:00
Roman Mogilatov
9969bc4761 Update external dependency provider docs 2016-06-09 17:47:55 +03:00
Roman Mogilatov
c5518e0ec3 Update callable provider docs
+ Add providers class diagram
2016-06-09 01:43:25 +03:00
Roman Mogilatov
43cc6a2e06 Update overriding context docblock 2016-06-09 00:53:17 +03:00
Roman Mogilatov
2fcfa79ffd Fix singleton bugs related to thread-safety and checks for sequence types 2016-06-08 17:02:39 +03:00
Roman Mogilatov
1eee0fe529 Update containers documentation
+ Refactor provider overriding system
2016-06-06 11:26:53 +03:00
Roman Mogilatov
ab7c8ac4d1 Rename Provider.inject() -> Provider.provide_injection() 2016-06-01 19:59:41 +03:00
Roman Mogilatov
a35db5889d Add some functionality and tests for declarative containers
+ Add checks for valid provider type
+ Add some wider functionality for overriding
2016-05-30 23:34:14 +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
d9aac553c5 Update factory and callable provider doc blocks 2016-05-22 14:57:25 +03:00
Roman Mogilatov
44d0555778 Restore Callable positional & keyword argument injections via __init__(*args, **kwargs) 2016-05-18 15:07:48 +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
4a160ed999 Drop Config provider 2016-05-17 21:31:40 +03:00
Roman Mogilatov
1320c12780 Drop Static, Value, Function & Class providers 2016-05-17 21:28:22 +03:00
Roman Mogilatov
7392f35991 Drop backward compatibilities of 1.x 2016-05-17 21:13:55 +03:00
Roman Mogilatov
a29508cb7a Implement add_injection() for Callable, Factory & Singleton providers 2016-05-16 11:16:14 +03:00
Roman Mogilatov
3a7b9c1e98 Refactor dependency_injector.providers package internals 2016-04-08 18:50:40 +03:00
Roman Mogilatov
040d44d55b Split `providers` module into smaller modules 2016-04-03 22:54:08 +03:00