Update base.py

add callbacks parameter to publish_task call set to options['link'] or none if options['callbacks'] exists