def METHOD_NAME(self):
    util.log.warning(
        '`geometry.hash()` is deprecated and will ' +
        'be removed in October 2023: replace ' +
        'with `geometry.__hash__()` or `hash(geometry)`')
    return self.__hash__()