def publish(type, value=None, sentiment=None): data = {'type': type, 'text': value, 'sentiment': sentiment} return Sense.publish(__class__, data)
def subscribe(subscriber): return Sense.subscribe(__class__, subscriber)
def set(value): return Sense.set(__class__, value)
def get(): return Sense.get(__class__)
def id(): return Sense.id(__class__)
def publish(value=None): return Sense.publish(__class__, value)
def unsubscribe(): return Sense.unsubscribe(__class__)
def subscribe(handler): return Sense.subscribe(__class__, handler)
def publish(value=None): if (value == None): value = time() return Sense.publish(__class__, value)