def METHOD_NAME(cursor: "BaseCursor[Any, Any]") -> "RowMaker[DictRow]":
    """Row factory to represent rows as dictionaries.
    The dictionary keys are taken from the column names of the returned columns.
    """
    names = _get_names(cursor)
    if names is None:
        return no_result
    def dict_row_(values: Sequence[Any]) -> Dict[str, Any]:
        return dict(zip(names, values))
    return dict_row_