Lagom

Latest version: v2.6.0

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

Scan your dependencies

Page 6 of 12

0.18.0

Enhancements
* (internal detail) when a plain object is provided to the container as a definition it is
no longer wrapped as a Singleton, but stored instead as PlainInstance. This allows the container
to skip any thread locks added in the singleton logic.
* add publishing logic to ship git commit hash with package.

Bug fixes
None

Backwards incompatible changes
None

0.17.0

Enhancements
* Magic partial and regular partial binding for framework integrations
* Thread locks for mutable state in the caching reflector and the singletons.

Bug fixes
None

Backwards incompatible changes
* All framework binding methods are now non magic by default

0.16.1

Enhancements
* Better error on infinte loops in definitions.

Bug fixes
None

Backwards incompatible changes
None

0.16.0

Enhancements
* The decorator `bind_to_container` and the function `partial` are now limited in what
they can inject. This is a backwards incompatible enhancement.

Bug fixes
None

Backwards incompatible changes
* The decorator `bind_to_container` and the function `partial` now require arguments
that are to be injected to be marked explicitly. The old behaviour is available through
`magic_bind_to_container` and `magic_partial`.

0.15.0

Enhancements
* Moved the env loading out of experimental.
* Async dependencies can be loaded using await

Bug fixes
None

Backwards incompatible changes
* Env now no longer exists in the experimental module.

0.14.0

Enhancements
* Added extra requirements for env under `pip install lagom[env]`


Bug fixes
* Fixed a bug that meant forward refs weren't handled 05a73109b4fe7b80c8cf2eee552a78f7535a56cc
* Fixed bug where typing self caused a loop and a crash d50fabea6f69863800b59fe730bd408432587851

Backwards incompatible changes
None

Page 6 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.