sunny-green
sunny-green3y ago

TypeError: Dataset.getInfo is not a function

let foo = await Dataset.getInfo()
1 Reply
genetic-orange
genetic-orange3y ago
Hi @Barry8 , you first need to open the dataset and then call the getInfo method on the dataset instance:
const dataset = await Dataset.open();
const info = await dataset.getInfo();
const dataset = await Dataset.open();
const info = await dataset.getInfo();

Did you find this page helpful?