Open
Description
Is your feature request related to a problem? Please describe.
At the moment there is duplicate code in many places that resolves callable objects from string path or object itselfs and it would be nice to clean that up
Describe the solution you'd like
Create one common function to resolve callable objects
Describe alternatives you've considered
None
Additional context
Proposed by @aleksihakli in #1058 (comment)