for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
from lagom import Container, injectable, bind_to_container
class SomeDep:
pass
container = Container()
@bind_to_container(container)
def a_bound_function(dep: SomeDep = injectable):
return "ok"
async def an_async_bound_function(dep: SomeDep = injectable):