We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ProfileLoader.init
1 parent 2b32a68 commit 7ea3c59Copy full SHA for 7ea3c59
1 file changed
injection/entrypoint.py
@@ -153,7 +153,9 @@ def _make_decorator[*Ts, _T](
153
setup_method = profile_loader.module.make_injected_function(setup_method)
154
155
def decorator(function: Callable[P, T]) -> Callable[P, _T]:
156
- profile_loader.init()
+ if profile_loader.module_subsets:
157
+ profile_loader.init()
158
+
159
self = cls(function, profile_loader)
160
return MethodType(setup_method, self)().function
161
0 commit comments