from pybiomart import Dataset
dataset = Dataset(name='hsapiens_gene_ensembl',
host='http://www.ensembl.org')
dataset.query(attributes=[]) # or dataset.query()
Should address the attributes=None case by using the datasets default attributes. The attributes=[] case should raise an Exception on the Python side instead of server side.
To recreate:
Should address the attributes=None case by using the datasets default attributes. The attributes=[] case should raise an Exception on the Python side instead of server side.