Commit 5c24a872 authored by Christophe Lallement's avatar Christophe Lallement
Browse files

Merge branch 'fix_app_injector_make_raise_object' into 'master'

Fix  wrong raise in app_injector.make

See merge request !142
parents ac8b6d99 43fe9b9c
Pipeline #48589 failed with stages
in 10 minutes and 50 seconds
......@@ -31,7 +31,7 @@ class WithLifeTime:
:param builder_fn: input factory function/callable that builds an object.
:return: returns a callable that returns an object
"""
raise NotImplemented()
raise NotImplementedError()
class Transient(Base):
""" Transient lifetime: a new object is created each time """
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment