diff --git a/fire/completion.py b/fire/completion.py index ed7a1b61..abcd2a05 100644 --- a/fire/completion.py +++ b/fire/completion.py @@ -326,7 +326,7 @@ def MemberVisible(component, name, member, class_attrs=None, verbose=False): # Methods and properties should only be accessible on instantiated # objects, not on uninstantiated classes. if class_attr.kind in ('method', 'property'): - return False + return True # Backward compatibility notes: Before Python 3.8, namedtuple attributes # were properties. In Python 3.8, they have type tuplegetter. tuplegetter = getattr(collections, '_tuplegetter', type(None))