Skip to content

Releases: sukovanej/inseminator

use poetry

05 Nov 20:40
Compare
Choose a tag to compare
  • start using poetry internally

preload_injected functionality

19 May 09:04
5c256c7
Compare
Choose a tag to compare
  • add preload_injected interface that will preload cache in all injected functions

add caching for inject decorator

14 May 18:06
a3e62b4
Compare
Choose a tag to compare
  • support caching in inject decorator by default
  • add new inject_scoped for per-call resolving of dependencies

inject decorator: calculate the inspect once

14 May 09:25
b0841b7
Compare
Choose a tag to compare
  • a little speed up of the inject decorator

add possibility to collect metrics

14 May 09:05
05862f1
Compare
Choose a tag to compare
  • measure inseminator overhead in injected functions

add better error message for missing dependencies

13 May 09:23
e27c2d5
Compare
Choose a tag to compare

when dependency can't be constructed the inseminator will raise an error with the dependency path

upgrade test requirements and fix injector

12 May 17:38
fc23821
Compare
Choose a tag to compare
  • upgrade test requirements
  • fix function decorators

lazy injection and fix of mixed arguments invocation

12 May 13:56
9d4ddd7
Compare
Choose a tag to compare
  • inject method is now lazy in the evaluation and constructs dependencies in the call-time
  • injected function can now be called with position and kw-args and dependencies independently of the position of the dependency parameter

py.typed added

12 May 12:18
b23ff32
Compare
Choose a tag to compare

now mypy will recognize inseminator during the static analysis

Pydantic's BaseSettings support

01 Apr 19:47
74c09cf
Compare
Choose a tag to compare

The resolver is now able to automatically construct BaseSettings object specified as a dependency.