Commit Graph

1869 Commits

Author SHA1 Message Date
Roman Mogylatov
a7de2dc632 Fix typing in wiring module 2021-03-19 20:37:28 -04:00
Roman Mogylatov
344b4ec9a2 Update changelog 2021-03-19 20:37:24 -04:00
Roman Mogylatov
052413d3f4 Implement lazy initialization and improve copying for MethodCaller provder 2021-03-19 20:36:49 -04:00
Roman Mogylatov
773a7d86f7 Implement lazy initialization and improve copying for ItemGetter provider 2021-03-19 20:36:49 -04:00
Roman Mogylatov
b8078f904e Implement lazy initialization and improve copying for AttributeGetter provider 2021-03-19 20:36:49 -04:00
Roman Mogylatov
cec342c1e4 Implement lazy initialization and improve copying for ProvidedInstance provider 2021-03-19 20:36:49 -04:00
Roman Mogylatov
bb473ab91e Implement lazy initialization and improve copying for Configuration provider 2021-03-19 20:36:49 -04:00
Roman Mogylatov
f180f493fa Implement lazy initialization and improve copying for Resource provider 2021-03-19 20:36:49 -04:00
Roman Mogylatov
17ecd6c8c0 Implement lazy initialization and improve copying for Dependency provider 2021-03-19 20:36:49 -04:00
Roman Mogylatov
f7fcb22139 Implement lazy initialization and improve copying for Selector provider 2021-03-19 20:36:49 -04:00
Roman Mogylatov
ee44c8f838 Implement lazy initialization and improve copying for FactoryAggregate provider 2021-03-19 20:36:49 -04:00
Roman Mogylatov
a80e027c51 Speed up wiring tests 2021-03-19 20:36:49 -04:00
Roman Mogylatov
aa9fbb3b3d Implement lazy initialization and improve copying for Object provider 2021-03-19 20:36:49 -04:00
Roman Mogylatov
3e03b9315e Implement lazy initialization and improve copying for Delegate provider 2021-03-19 20:36:49 -04:00
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