Last active
July 15, 2020 13:33
-
-
Save tonyroberts/fdfb1164bf05deee67cbcfbb570ce487 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyxll import xl_func | |
import pubsub | |
@xl_func | |
def publish(topic, value): | |
"""Publish a value on a topic to be picked up by another sheet""" | |
pubsub.publish(topic, value) | |
return f"[Published to {topic}]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment