Parameters need to be passed as keyword arguments.

def all_table_names_in_database(self, cache=False,
                                    cache_timeout=None, force=False):
        """Parameters need to be passed as keyword arguments."""
        if not self.allow_multi_schema_metadata_fetch:
            return []
        return self.db_engine_spec.fetch_result_sets(self, 'table')