code: def properties(self) -> 'PrettyDir':
          
          return PrettyDir(
              self.obj,
              [
                  pattr
                  for pattr in self.pattrs
                  if category_match(pattr.category, AttrCategory.PROPERTY)
              ],
          )
docs: Returns all properties of the inspected object.
  
          Note that "properties" can mean "variables".