From d0fea0c9c63a828e39f505c153a000495644195d Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 25 Jul 2018 12:34:16 +0000 Subject: [PATCH] All the arguments to send_location_data are actually required --- platypush/plugins/adafruit/io.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/platypush/plugins/adafruit/io.py b/platypush/plugins/adafruit/io.py index 8aae0c0b81..0a5b8d1ad6 100644 --- a/platypush/plugins/adafruit/io.py +++ b/platypush/plugins/adafruit/io.py @@ -145,7 +145,7 @@ class AdafruitIoPlugin(Plugin): @action - def send_location_data(self, feed, lat, lon, ele=None, value=None): + def send_location_data(self, feed, lat, lon, ele, value): """ Send location data to an Adafruit IO feed @@ -161,11 +161,8 @@ class AdafruitIoPlugin(Plugin): :param ele: Elevation :type ele: float - :param value: (Optional) value to send + :param value: Value to send :type value: Numeric or string - - :param enqueue: If throttle_seconds is set, this method by default will append values to the throttling queue to be periodically flushed instead of sending the message directly. In such case, pass enqueue=False to override the behaviour and send the message directly instead. - :type enqueue: bool """ self.aio.send_location_data(feed=feed, value=value, lat=lat, lon=lon, ele=ele)