pydomo ds_query and query unable to use, Domo and Datasets object has no attribute

Options

I have tried the following w. the same issue of object not found:


domo = Domo(client_id, client_secret, logger_name='foo',
 log_level=logging.INFO, api_host=apihost)


datasets_parent = domo.ds_query(...)
# tried with domo.query() also same Domo object has no attribute ds_query error 


and I've tried:

domo = Domo(client_id, client_secret, logger_name='foo',
 log_level=logging.INFO, api_host=apihost)

dataset = domo.datasets

datasets_parent = dataset.ds_query(...)
# tried with dataset.query() also same Domo object has no attribute ds_query error