Roman Mogylatov
9202ad05a7
Fix schema flake8 errors
2021-03-19 20:36:49 -04:00
Roman Mogylatov
7407758827
Remove f-strings from set_provides()
2021-03-19 20:36:49 -04:00
Roman Mogylatov
fad03f2957
Add region name for boto3 integration example
2021-03-19 20:36:49 -04:00
Roman Mogylatov
5ccee194c7
Fix Python 2 tests
2021-03-19 20:36:49 -04:00
Roman Mogylatov
0fab16db94
Implement lazy initialization and improve copying for Callable, Factory, Singleton, and Coroutine providers
2021-03-19 20:36:49 -04:00
Roman Mogylatov
dbc6393561
Implement boto3 session use case and add tests
2021-03-19 20:36:49 -04:00
Roman Mogylatov
35a6f47aff
Fix pypy3 tests
2021-03-19 20:36:49 -04:00
Roman Mogylatov
47f8c6ebe8
Implement provider to provider resolving
2021-03-19 20:36:49 -04:00
Roman Mogylatov
bcc0b2ad54
Fix singleton children to have optional provides
2021-03-19 20:36:49 -04:00
Roman Mogylatov
ce36033faa
Add typing stubs for Callable, Factory, and Singleton .set_provides() attributes
2021-03-19 20:36:49 -04:00
Roman Mogylatov
41cf1bd6b4
Fix warnings in tests
2021-03-19 20:36:49 -04:00
Roman Mogylatov
b347efc62f
Add set_provides for Callable, Factory, and Singleton providers
2021-03-19 20:36:49 -04:00
Roman Mogylatov
b457f54299
Add boto3 to the test requirements
2021-03-19 20:36:49 -04:00
Roman Mogylatov
2e4d6d95d5
Add mypy_boto3_s3 to the test requirements
2021-03-19 20:36:49 -04:00
Roman Mogylatov
2a3b670d1d
Update tests to match latest schemas
2021-03-19 20:36:49 -04:00
Roman Mogylatov
8cac34b1c0
Refactor schema module
2021-03-19 20:36:49 -04:00
Roman Mogylatov
19786d3c7a
Remove unused imports from tests
2021-03-19 20:36:49 -04:00
Roman Mogylatov
a78edf4990
Add integration test for reordered schema
2021-03-19 20:36:49 -04:00
Roman Mogylatov
70e105d609
Refactor integration tests
2021-03-19 20:36:49 -04:00
Roman Mogylatov
6f41372b68
Add integration test for inline providers
2021-03-19 20:36:49 -04:00
Roman Mogylatov
b882c7cdf3
Prototype inline injections
2021-03-19 20:36:48 -04:00
Roman Mogylatov
73d9c97c1b
Implement from_*() methods and add tests
2021-03-19 20:36:48 -04:00
Roman Mogylatov
3c3c6def6d
Add integration tests
2021-03-19 20:36:48 -04:00
Roman Mogylatov
5121b5c070
Add multiple containers prototype
2021-03-19 20:36:48 -04:00
Roman Mogylatov
436bb1a5a2
Add single container prototype
2021-03-19 20:36:48 -04:00
Roman Mogylatov
8cad8c6b65
Merge branch 'release/4.30.0' into master
2021-03-19 20:23:39 -04:00
Roman Mogylatov
9ea8709ed9
Bump version to 4.30.0
2021-03-19 20:23:20 -04:00
Roman Mogylatov
6c1b7cc677
Remove restriction to wire a dynamic container
2021-03-19 20:23:10 -04:00
Roman Mogylatov
ee89476db0
Merge branch 'release/4.29.2' into master
2021-03-08 16:33:46 -05:00
Roman Mogylatov
e42d7dc05e
Bump version to 4.29.2
2021-03-08 16:33:32 -05:00
Roman Mogylatov
bbbed8972a
Wiring import fixes numpy scipy ( #422 )
...
* Add signature guards
* Fix flake8 errors and update changelog
* Fix slow numpy/scipy installs on pypy3
2021-03-08 16:32:34 -05:00
Roman Mogylatov
b3bcf60ced
Merge branch 'release/4.29.1' into master
2021-03-05 20:20:10 -05:00
Roman Mogylatov
ed0b93bdbe
Pin ubuntu to 18.04 for publishing jobs
2021-03-05 20:19:31 -05:00
Roman Mogylatov
d4ebb1b786
Remove unittest2 ( #419 )
...
* Remove unittest2 framework
* Skip a couple of tests on Python 2.7
* Update changelog
2021-03-05 20:17:28 -05:00
Roman Mogylatov
6b57ce9f15
Merge branch 'release/4.29.1' into master
2021-03-05 17:28:56 -05:00
Roman Mogylatov
dbad7949b0
Bump version to 4.29.1
2021-03-05 17:28:46 -05:00
Roman Mogylatov
22629544a4
Fix recursive copying issue in `Delegate
` provider
2021-03-05 17:24:48 -05:00
Roman Mogylatov
c14ff96773
Remove legacy css file
2021-03-05 17:23:57 -05:00
Roman Mogylatov
2cab6c687a
Add docs and example for `Factory.add_attributes()
` method
2021-03-03 16:06:53 -05:00
Roman Mogylatov
f1a3ad0b82
Merge branch 'release/4.29.0' into master
2021-03-03 09:06:29 -05:00
Roman Mogylatov
3f026887bf
Bump version to 4.29.0
2021-03-03 09:06:19 -05:00
Roman Mogylatov
1304e596d6
Container provider override API ( #418 )
...
* Implement override API
* Add tests
* Update changelog
2021-03-03 09:05:15 -05:00
Roman Mogylatov
2bf3601695
Singleton reset context ( #417 )
...
* Add implementation and typing stubs
* Make some refactoring and add tests
* Pin ubuntu version to 18.04
* Add docs and example
* Add changelog
* Add container docs
2021-03-03 08:28:10 -05:00
Roman Mogylatov
e0b0a1e968
Merge branch 'release/4.28.1' into master
2021-03-01 09:06:24 -05:00
Roman Mogylatov
e6a0973be3
Bump version to 4.28.1
2021-03-01 09:06:11 -05:00
Roman Mogylatov
346451819e
Fix async mode mode exception handling issue in `Dependency
` provider
2021-03-01 09:01:51 -05:00
Roman Mogylatov
26571e805a
Fix links to `boto3
` example
2021-03-01 08:28:22 -05:00
Roman Mogylatov
25c966f7af
Merge branch 'release/4.28.0' into master
2021-02-28 21:08:59 -05:00
Roman Mogylatov
cc05b42200
Bump version to 4.28.0
2021-02-28 21:08:50 -05:00
Roman Mogylatov
da13341453
Wiring: attribute injections ( #414 )
...
* Add implementation
* Add tests for module and class
* Add tests for module and class for string ids
* Update tests with typing
* Add tests for invalid type of marker
* Add docs and the example
* Update changelog
* Fix Python 3.6 tests and flake8
2021-02-28 21:07:50 -05:00