scrachy.utils.imports.get_import_path

scrachy.utils.imports.get_import_path(obj: Any) str[source]

Get the import path to the given object. If the obj is a string then we assume it is already an import path and return the value unchanged.

Parameters:

obj

Returns: