def _connect_params(self, database=None, server=None, user=None, password=None):
        database = database or self.config.get('default')
        db_config = self.config.get(database, {})
        params = {
            'database': db_config.get('database') and database,
            'server': server or db_config.get('server'),
            'user': user or db_config.get('user'),
            'password': password or db_config.get('password')
        }
        unspecified = [param for param, value in params.iteritems() if value is None]
        if unspecified:
            raise Exception("Must specify or configure in config.yaml: %s" % ', '.join(unspecified))
        return params
dataset/ETHPy150Open StackStorm/st2contrib/packs/mssql/actions/lib/mssql_action.py/MSSQLAction._connect_params/operator `or` -> `and`