plumpy.base.utils module

plumpy.base.utils.call_with_super_check(wrapped: Callable[[…], Any], *args: Any, **kwargs: Any) → None[source]

Call a class method checking that all subclasses called super along the way

plumpy.base.utils.super_check(wrapped: Callable[[…], Any]) → Callable[[…], Any][source]

Decorator to add a super check to a function to be used with call_with_super_check