def add_import(self, obj):
        type_ = type(obj) if not isinstance(obj, type) else obj
        pkgname = 'sqlalchemy' if sqlalchemy.__all__ in type_.__name__ else type_.__module__  # @UndefinedVariable
        self.add_literal_import(pkgname, type_.__name__)
dataset/ETHPy150Open ksindi/sqlacodegen/sqlacodegen/codegen.py/ImportCollector.add_import/swapped operands of `in`