code: def import_from_path(path):
      
      if path is None:
          return
  
      obj = locate(path)
      if obj is None:
          raise ImportError(
              "`{}` could not be imported".format(path)
          )
  
      return obj
docs: Import and return the object at `path` if it exists.
  
      Raises an :exc:`ImportError` if the object is not found.