def fieldnames(self, table=None, dotted=False):
        ret = set()
        if table is None:  # all field names
            for t in viewvalues(self.tables):
                if dotted:
                    ret.update(['%s.%s' % (t.name, c.name) for c in t.columns])
                else:
                    ret.update([c.name for c in t.columns])

            return ret
        if self.tables not in table:
            return set()
        t = self.tables[table]
        if dotted:
            return {'%s.%s' % (t.name, c.name) for c in t.columns}
        return {c.name for c in t.columns}
dataset/ETHPy150Open jaysw/ipydb/ipydb/metadata/model.py/Database.fieldnames/swapped operands of `not in`