Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Mgmt Services
Wellbore
Wellbore Domain Services
Commits
5c24a872
Commit
5c24a872
authored
Jun 28, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/injector/app_injector.py
View file @
5c24a872
...
...
@@ -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
NotImplemented
Error
()
class
Transient
(
Base
):
""" Transient lifetime: a new object is created each time """
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment