Wireup

Latest version: v0.7.2

Safety actively analyzes 626118 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.7.2

* [Fix using params in fastapi views](https://github.com/maldoinc/wireup/commit/951bdcce78653fbe7dc9db81b2edecd1fb13692f)
* [Override will now raise if target is unknown.](https://github.com/maldoinc/wireup/commit/2a7b8c54cdd2938a2dba68e5c8ab091374d9c725)
* [Remove proxies when they become unnecessary](https://github.com/maldoinc/wireup/commit/d098e9932c882f75d580ce77c963ddfbe1b801ea)


**Full Changelog**: https://github.com/maldoinc/wireup/compare/v0.7.1...v0.7.2

0.7.1

* [Fix service registration with qualifiers when using factory functions](https://github.com/maldoinc/wireup/issues/17)
* [Fix register_all_in_module not picking up classes from modules containing only __init__.py](https://github.com/maldoinc/wireup/issues/18)
* [Default impl is now a documented feature](https://github.com/maldoinc/wireup/issues/9)
* register_all_in_module now can also accept a regex pattern
* Added new load_module function to help with factory service registration edge cases

**Full Changelog**: https://github.com/maldoinc/wireup/compare/v0.7.0...v0.7.1

0.7.0

* [Add fastapi integration (](https://github.com/maldoinc/wireup/commit/eaeabfeb37d8f908c17d2bfd894287eb4f42a382)https://github.com/maldoinc/wireup/pull/16[)](https://github.com/maldoinc/wireup/commit/eaeabfeb37d8f908c17d2bfd894287eb4f42a382)
* [Override passed kw args when autowiring;](https://github.com/maldoinc/wireup/commit/fc5a4c2b33a4852e4a6f20daeea8459fe73c2150) [Fixes](https://github.com/maldoinc/wireup/commit/fc5a4c2b33a4852e4a6f20daeea8459fe73c2150) https://github.com/maldoinc/wireup/issues/12
* [Make Wire() raise in fastapi with unknown services;](https://github.com/maldoinc/wireup/commit/366f85199b8b1106d36d459f499946f750612ed1) [Fixes](https://github.com/maldoinc/wireup/commit/366f85199b8b1106d36d459f499946f750612ed1) https://github.com/maldoinc/wireup/issues/14
* [Fix interference with fastapi depends when not being used in a wireup context](https://github.com/maldoinc/wireup/commit/381f94eccb3fc79b7def55d8a8305be59b65b5f1)
* [Add option to override services (](https://github.com/maldoinc/wireup/commit/ca68dd2931fe93d7b109c425903ccc8288deac57)https://github.com/maldoinc/wireup/pull/13[)](https://github.com/maldoinc/wireup/commit/ca68dd2931fe93d7b109c425903ccc8288deac57)
* [Add clear_initialized_objects method](https://github.com/maldoinc/wireup/commit/889a0eac056977165180d5c7bfb57f84850367ca)
* Documentation updates

0.6.2

Bugfix release

* [Do not return proxies when obj can be built.](https://github.com/maldoinc/wireup/commit/16d041dd5172c052d8f62f31a04ffb3951d14da8) [Fixes](https://github.com/maldoinc/wireup/commit/16d041dd5172c052d8f62f31a04ffb3951d14da8) https://github.com/maldoinc/wireup/issues/4
* [Fix flask integration bug where services relying on flask params would not be instantiated](https://github.com/maldoinc/wireup/commit/4bf569b953d18e16a2ca02e763ea4d1d9d2b3ccc)

**Full Changelog**: https://github.com/maldoinc/wireup/compare/v0.6.1...v0.6.2

0.6.1

Bugfix release

* [Fix bug preventing from setting attrs of proxied object](https://github.com/maldoinc/wireup/commit/65158836168457e7634339202b8634c76c545549)
* [Fix bug where services registered through factories would not be warmed up](https://github.com/maldoinc/wireup/commit/6da5bd1803e2c45cc692f38a0aa471d034d70839)
* [Fix abstract and get type hints](https://github.com/maldoinc/wireup/commit/f2062ef18c747adf01490a2e4f043767fdcd32c2)
* [Fix container.register to not obstruct the decorated type](https://github.com/maldoinc/wireup/commit/f57e7f66a39a981ce9b8e3710ff6337a837be671)
* [Fix container.get returning proxies for interfaces when instantiated class already exists](https://github.com/maldoinc/wireup/commit/7b6b2dbee53e0772ab0e5a41df14b91b73aa5f72)
* [Use graphlib2 only in Py38, newer versions use python's native graphlib](https://github.com/maldoinc/wireup/commit/747015a564b8191002a6c4c78593165cfaff5bb7)
* [Make AnnotatedParameter reader work with multiple annotations. Now having the wireup annotation as the first one is no longer necessary.](https://github.com/maldoinc/wireup/commit/4f29cac5fc11b786feade0c08d49962b74b44f63)

**Full Changelog**: https://github.com/maldoinc/wireup/compare/v0.6.0...v0.6.1

0.6.0

* Performance improvements
* Add custom exceptions instead of throwing ValueError.
* Add Flask Integration

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.