code: def get_extract_method(path):
    
    info_path = _get_info_path(path)
    info = _read_info(info_path)
    fname = info.get('original_fname', path) if info else path
    return _guess_extract_method(fname)
docs: Returns `ExtractMethod` to use on resource at path. Cannot be None.