def add_document(self, definition):
    '\n        Add a Product using its difinition\n\n        :param dict definition: product definition document\n        :rtype: datacube.model.DatasetType\n        '
    type_ = self.from_doc(definition)
    return self.add(type_)
Add a Product using its difinition

:param dict definition: product definition document
:rtype: datacube.model.DatasetType
def add_document(self, definition):
    '\n        Add a Product using its difinition\n\n        :param dict definition: product definition document\n        :rtype: datacube.model.DatasetType\n        '
    type_ = self.from_doc(definition)
    return self.add(type_)