

def _get_request_dataset_code(self, dataset_code):
    if isinstance(dataset_code, tuple):
        return dataset_code[0]
    elif isinstance(dataset_code, string_types):
        return dataset_code
    else:
        raise ValueError(Message.ERROR_ARGUMENTS_LIST_FORMAT)

dataset/ETHPy150Open quandl/quandl-python/quandl/model/merged_dataset.py MergedDataset._get_request_dataset_code/original