def clear_publishers():
    publishers[PRE_PUBLISHER_TYPE].clear()
    publishers[POST_PUBLISHER_TYPE].clear()
utility function to clear publishers
dataset/ETHPy150Open eoyilmaz/anima/anima/publish.py/clear_publishers