If you have a method that can return different types, pylint gives an error if only some of them don't match.
if isinstance(value, dict):
elif isinstance(value, list):
value = get_new_value(listval)
This produces an error with a disclaimer
E1103: 15:get_my_value: Instance of 'dict' has no 'reverse' member (but some types could not be inferred)
but this is really not very helpful. Surely if it can't fully infer the types it shouldn't be flagging errors? Feels like the only thing to do is disable this one.