def get_entry_creators()

in pulseapi/utility/syndication.py [0:0]


def get_entry_creators(entry):
    # Since `creators` is an optional field and can be empty, we return the publisher name instead.
    entry_creators = entry.related_entry_creators.all()
    if len(entry_creators) >= 1:
        return ', '.join(
            entry_creator.profile.name
            for entry_creator in entry_creators
        )
    else:
        return entry.published_by.name