in google-datacatalog-apache-atlas-connector/src/google/datacatalog_connectors/apache_atlas/prepare/datacatalog_entry_factory.py [0:0]
def __get_entry_attributes(self, entry, guid, data):
generated_id = self.__format_id(guid)
name = None
location = None
attributes = data['attributes']
if attributes:
location = attributes.get('location')
name = attributes.get('name')
if name:
name = self.__format_id(name)
description = attributes.get('description')
if description:
entry.description = description
return generated_id, name, location, attributes.get('columns')