def __dir__(self):
    return (dir(super(RDFStruct, self)) +
            [x.name for x in self.type_infos])
Add the virtualized fields to the console's tab completion.
dataset/ETHPy150Open google/grr/grr/lib/rdfvalues/structs.py/RDFStruct.__dir__