File size: 315 Bytes
45a291e
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
"""Shared env server implementation helpers."""

from __future__ import annotations

from typing import Any


def overrides_method(method: Any, base_method: Any) -> bool:
    """Return whether a bound method differs from the base implementation."""
    return getattr(method, "__func__", method) is not base_method