From 0e3d6827c74d9a43ee4367e2cf9c7d036828ac9e Mon Sep 17 00:00:00 2001 From: Rohan-Salwan Date: Mon, 6 Dec 2021 09:29:44 +0530 Subject: [PATCH] fix issue225 --- fire/completion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))