Closed samuelcorradi closed 2 years ago
Currently, if a schema is not provided for the Dataset, the Dataset class instantiates a schema obj in the constructor method. Does that make sense? If every dataset needs a schema, why not be mandatory to pass a schema at creation time?
if not schema: schema = Schema()
if not schema: raise Exception("Every dataset needs a schema.")
Currently, if a schema is not provided for the Dataset, the Dataset class instantiates a schema obj in the constructor method. Does that make sense? If every dataset needs a schema, why not be mandatory to pass a schema at creation time?