Roman Mogylatov
|
dcea50b3a3
|
Fix Singleton and ThreadLocalSingleton to handle initialization errors
|
2021-01-03 18:07:37 -05:00 |
|
Roman Mogylatov
|
fe3ed6780a
|
Improve resource typing stub
|
2021-01-03 17:17:49 -05:00 |
|
Roman Mogylatov
|
f1256a44fd
|
Refactor provider typing stubs
|
2021-01-02 23:42:14 -05:00 |
|
Roman Mogylatov
|
cb2a36b216
|
Refactor Singleton typing stubs to return singleton from argument methods
|
2021-01-02 23:32:23 -05:00 |
|
Roman Mogylatov
|
644406b594
|
Add typing stubs for async_() method + tests
|
2021-01-02 23:29:17 -05:00 |
|
Roman Mogylatov
|
227d3494da
|
Add Provider.async_() method + tests
|
2021-01-02 22:47:59 -05:00 |
|
Roman Mogylatov
|
141843e62f
|
Refactor Resource provider to use async mode api
|
2021-01-01 22:50:27 -05:00 |
|
Roman Mogylatov
|
2c911ff1f2
|
Finish Singleton refactoring to use async mode api
|
2021-01-01 22:34:19 -05:00 |
|
Roman Mogylatov
|
3da1698f95
|
Refactor ThreadLocalSingleton provider to use async mode api
|
2021-01-01 22:31:48 -05:00 |
|
Roman Mogylatov
|
913b562369
|
Refactor ThreadSafeSingleton provider to use async mode api
|
2021-01-01 22:29:10 -05:00 |
|
Roman Mogylatov
|
cf69a63915
|
Refactor Singleton provider to use async mode api
|
2021-01-01 22:26:32 -05:00 |
|
Roman Mogylatov
|
e4fd36555f
|
Add support of async mode for FactoryAggregate provider + tests
|
2020-12-30 22:40:31 -05:00 |
|
Roman Mogylatov
|
c9242e51f6
|
Refactor Dependency provider to use async mode api
|
2020-12-30 13:31:06 -05:00 |
|
Roman Mogylatov
|
8bf641dd36
|
Refactor Provider.__call__() to use async mode api
|
2020-12-30 13:31:01 -05:00 |
|
Roman Mogylatov
|
0a30efec5a
|
Add typing stubs & tests for async mode API
|
2020-12-30 13:31:01 -05:00 |
|
Roman Mogylatov
|
e09b93c21b
|
Add async mode API + tests
|
2020-12-30 13:31:01 -05:00 |
|
Roman Mogylatov
|
fb296788e3
|
Refactor abstract* providers __call__()
|
2020-12-30 13:30:58 -05:00 |
|
Roman Mogylatov
|
a89602e690
|
Add typing stubs for async resource
|
2020-12-30 13:30:58 -05:00 |
|
Roman Mogylatov
|
541641d36c
|
Add overload for Factory typing
|
2020-12-30 13:30:58 -05:00 |
|
Roman Mogylatov
|
b446dab559
|
Add async mode for the provider
|
2020-12-30 13:30:58 -05:00 |
|
Roman Mogylatov
|
32c4c6e29a
|
Implement async mode for Dependency provider
|
2020-12-30 13:30:54 -05:00 |
|
Roman Mogylatov
|
0c42ff9242
|
Update .provided + fix resource concurent initialization issue
|
2020-12-30 13:30:51 -05:00 |
|
Roman Mogylatov
|
90a6cb3c6d
|
Implement injections in thread-local and thread-safe singleton providers
|
2020-12-30 13:30:50 -05:00 |
|
Roman Mogylatov
|
6020c6caf4
|
Add singleton implementation + tests for all singleton types
|
2020-12-30 13:30:48 -05:00 |
|
Roman Mogylatov
|
f07f3e4943
|
Implement attribute injections and add tests
|
2020-12-30 13:30:46 -05:00 |
|
Roman Mogylatov
|
53a5d07b3a
|
Implement positional injections, add tests and make refactoring
|
2020-12-30 13:30:46 -05:00 |
|
Roman Mogylatov
|
af51779477
|
Refactor kwargs injections
|
2020-12-30 13:30:46 -05:00 |
|
Roman Mogylatov
|
aaacc07916
|
Turm asyncio import to conditional for safer Py2 usage
|
2020-12-30 13:30:45 -05:00 |
|
Roman Mogylatov
|
0015e4e50a
|
Fix isawaitable error
|
2020-12-30 13:30:45 -05:00 |
|
Roman Mogylatov
|
caee7f6b41
|
Add first dirty async injections implementation
|
2020-12-30 13:30:45 -05:00 |
|
Roman Mogylatov
|
c51eb52053
|
Fix init async resources in container on Python 2
|
2020-12-30 13:30:44 -05:00 |
|
Roman Mogylatov
|
45cd887a37
|
Implement async resources initialization in container
|
2020-12-30 13:30:44 -05:00 |
|
Roman Mogylatov
|
3ab2b1f573
|
Rework async resources callbacks to .add_done_callback() style (fixes pypy3 issue)
|
2020-12-30 13:30:44 -05:00 |
|
Roman Mogylatov
|
31b03243a4
|
Add tests for async resources
|
2020-12-30 13:30:42 -05:00 |
|
Roman Mogylatov
|
c4825956f7
|
Fix tests
|
2020-12-30 13:30:41 -05:00 |
|
Roman Mogylatov
|
d50fbbd83b
|
Add resource base class for async resources
|
2020-12-30 13:30:40 -05:00 |
|
Roman Mogylatov
|
fc2633faa3
|
Update resource provider typing stub for stutdown
|
2020-12-30 13:30:40 -05:00 |
|
Roman Mogylatov
|
4db931d38c
|
Add support of async functions and async generators for resources
|
2020-12-30 13:30:40 -05:00 |
|
Roman Mogylatov
|
7ae8041f0a
|
Add support of async injections into wiring
|
2020-12-30 13:30:39 -05:00 |
|
Fotis Koutoupas
|
aad84476d0
|
Fix flask ext warning message (#345)
|
2020-12-30 13:19:42 -05:00 |
|
Roman Mogylatov
|
468451d4c0
|
Bump version to 4.5.4
|
2020-12-10 18:28:29 -05:00 |
|
Roman Mogylatov
|
730baf87d8
|
Bump version to 4.5.3
|
2020-12-05 22:14:35 -05:00 |
|
Roman Mogylatov
|
b49f158583
|
Fix bug #331
|
2020-12-05 21:40:51 -05:00 |
|
Roman Mogylatov
|
de092023b8
|
Bump version to 4.5.2
|
2020-12-04 20:18:39 -05:00 |
|
Roman Mogylatov
|
afa39b148e
|
Fix issue 330: FastAPI Depends directive does not work after patching with @inject
|
2020-12-04 20:11:21 -05:00 |
|
Roman Mogylatov
|
4ff1a6eb25
|
Bump version to 4.5.1
|
2020-11-20 18:16:29 -05:00 |
|
Roman Mogylatov
|
57faa5f93f
|
Bump version to 4.5.0
|
2020-11-20 18:10:04 -05:00 |
|
Roman Mogylatov
|
034e4814da
|
Add support of non-string keys for Dict provider
|
2020-11-20 17:30:42 -05:00 |
|
Roman Mogylatov
|
d581a28b6e
|
Bump version to 4.4.1
|
2020-11-17 23:59:33 -05:00 |
|
Roman Mogylatov
|
d37ae8e7db
|
Improve FastAPI integration
|
2020-11-17 23:44:32 -05:00 |
|