Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
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")