code: def drop_table_or_view(self, name, database=None, force=False):
          
          try:
              self.drop_table(name, database=database)
          except Exception as e:
              try:
                  self.drop_view(name, database=database)
              except Exception:
                  raise e
docs: Attempt to drop a relation that may be a view or table