kill experimental attr on webmethod

This commit is contained in:
Ashwin Bharambe 2025-04-11 17:13:46 -07:00
parent 1d855461d5
commit a3cee70014
3 changed files with 2 additions and 8 deletions

View file

@ -400,9 +400,6 @@ def check_protocol_compliance(obj: Any, protocol: Any) -> None:
mro = type(obj).__mro__
for name, value in inspect.getmembers(protocol):
if inspect.isfunction(value) and hasattr(value, "__webmethod__"):
if value.__webmethod__.experimental:
continue
if not hasattr(obj, name):
missing_methods.append((name, "missing"))
elif not callable(getattr(obj, name)):