How to list all class properties May 31, 2023 by Tarik property_names=[p for p in dir(SomeClass) if isinstance(getattr(SomeClass,p),property)]