Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion injection/entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ def _make_decorator[*Ts, _T](
setup_method = profile_loader.module.make_injected_function(setup_method)

def decorator(function: Callable[P, T]) -> Callable[P, _T]:
Comment thread
remimd marked this conversation as resolved.
profile_loader.init()
if profile_loader.module_subsets:
profile_loader.init()

Comment thread
remimd marked this conversation as resolved.
self = cls(function, profile_loader)
return MethodType(setup_method, self)().function

Expand Down