def __make_assembled_entry_for_entity()

in google-datacatalog-apache-atlas-connector/src/google/datacatalog_connectors/apache_atlas/prepare/assembled_entry_factory.py [0:0]


    def __make_assembled_entry_for_entity(self, entity, entity_types_dict,
                                          classifications, enum_types_dict):

        entry_id, entry = self.__datacatalog_entry_factory. \
            make_entry_for_entity(entity)

        tags = [
            self.__datacatalog_tag_factory.make_tag_for_entity(
                entity, entity_types_dict, enum_types_dict)
        ]

        entry_classifications = entity.get('classifications')

        if entry_classifications:
            for classification in entry_classifications:
                tags.append(
                    self.__datacatalog_tag_factory.make_tag_for_classification(
                        classification, classifications, enum_types_dict))
        self.__make_tags_for_columns(classifications, entity, tags,
                                     enum_types_dict)

        return prepare.AssembledEntryData(entry_id, entry, tags)