Hi,
Few months ago, I used the function
create_dataset(name)
But know I am asked to use
create_dataset(dataset_name, type)
The "type" parameter is new and mandatory. But there is no explanation of what it is exactly. Anyone have an idea ?
project = self.automation.client.get_project('<PROJECT>')
project.create_dataset(dataset_name = '<dataset>', type='Filesystem')
Even if I put a value to this parameter, I still have this error message :
TypeError: create_dataset() missing 1 required positional argument: 'type'
Thanks !
Hi,
The argument is not called "name" but "dataset_name", so you can use either:
create_dataset("administration", "Filesystem")
or
create_dataset(dataset_name="administration", type="Filesystem")