def get_with_fields(self, field_names):
    '\n        Return dataset types that have all the given fields.\n\n        :param tuple[str] field_names:\n        :rtype: __generator[DatasetType]\n        '
    for type_ in self.get_all():
        for name in field_names:
            if (name not in type_.metadata_type.dataset_fields):
                break
        else:
            (yield type_)
Return dataset types that have all the given fields.

:param tuple[str] field_names:
:rtype: __generator[DatasetType]
def get_with_fields(self, field_names):
    '\n        Return dataset types that have all the given fields.\n\n        :param tuple[str] field_names:\n        :rtype: __generator[DatasetType]\n        '
    for type_ in self.get_all():
        for name in field_names:
            if (name not in type_.metadata_type.dataset_fields):
                break
        else:
            (yield type_)