find_function¶
-
utils.
find_function
(function_name, function_folder, excluded_files=None)[source]¶ Finds and imports a function from a given folder. Does not look in subfolders
Parameters: - function_name (string) – The name of the function to be used
- function_folder (basestring) – The path where the function is likely to be found
- excluded_files (list, optional) – A list of modules to be excluded from the search. Can be described using portions of file names.
Returns: sought_class – The uninstansiated class sought
Return type: inherited_class