CA
conscious-sapphire

TypeError: Dataset.getInfo is not a function

let foo = await Dataset.getInfo()
1 Reply
rare-sapphire
rare-sapphire2y 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?