def _init_options(self, kwargs):
    super(QueryData, self)._init_options(kwargs)
    if self.options.get('sql_path'):
        if self.options.get('database_url'):
            raise TaskOptionsError('The database_url option is set dynamically with the sql_path option.  Please unset the database_url option.')
        self.logger.info('Using in-memory sqlite database')
        self.options['database_url'] = 'sqlite://'
        self.options['sql_path'] = os_friendly_path(self.options['sql_path'])
def _init_options(self, kwargs):
    super(QueryData, self)._init_options(kwargs)
    if self.options.get('sql_path'):
        if self.options.get('database_url'):
            raise TaskOptionsError('The database_url option is set dynamically with the sql_path option.  Please unset the database_url option.')
        self.logger.info('Using in-memory sqlite database')
        self.options['database_url'] = 'sqlite://'
        self.options['sql_path'] = os_friendly_path(self.options['sql_path'])