def METHOD_NAME(newsflash: NewsFlash):
    publish_notification(newsflash)
    if newsflash_has_location(newsflash):
        DBAdapter.generate_infographics_and_send_to_telegram(newsflash.id)
    else:
        logging.debug("newsflash does not have location, not publishing")