code: def insertDataset(self, dataset):
          
          try:
              models.Dataset.create(
                  id=dataset.getId(),
                  name=dataset.getLocalId(),
                  description=dataset.getDescription(),
                  attributes=json.dumps(dataset.getAttributes()))
          except Exception:
              raise exceptions.DuplicateNameException(
                  dataset.getLocalId())
docs: Inserts the specified dataset into this repository.