

def get_dialect(self, dialect_source):
    'Get a CSV dialect instance for this data.'
    if dialect_source:
        (_valid, rv) = csv_dialect.validate(dialect_source)
        if (not _valid):
            raise exceptions.InvalidSpec
        return _valid
    else:
        return None

dataset/ETHPy150Open frictionlessdata/goodtables/goodtables/pipeline/pipeline.py Pipeline.get_dialect/VarMisuse@47/77 `rv`->`_valid`