def __dir__(self): attrs = super_dir_set(self.__class__) if '_lookup' in self.__dict__ and hasattr(self._lookup, 'keys'): attrs.update(self._lookup.keys()) return sorted(attrs)
def __dir__(self): attrs = super_dir_set(self.__class__) if 'json' in self.__dict__ and hasattr(self.json, 'keys'): attrs.update(self.json.keys()) return sorted(attrs)