annotate lib/mqtt_client/tasks.py @ 605:ad4c4d7c1fb9

reasoning output using treq, and keep writing to PUT calls forever (but not as fast as the reasoning loop runs) Ignore-this: 1633b16dc315082f759041d42e848ced
author drewp@bigasterisk.com
date Tue, 23 Jul 2019 17:30:46 -0700
parents 2c4e8ef57f08
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
554
2c4e8ef57f08 mqtt_client into a distributable
drewp@bigasterisk.com
parents:
diff changeset
1 from invoke import task
2c4e8ef57f08 mqtt_client into a distributable
drewp@bigasterisk.com
parents:
diff changeset
2
2c4e8ef57f08 mqtt_client into a distributable
drewp@bigasterisk.com
parents:
diff changeset
3 import sys
2c4e8ef57f08 mqtt_client into a distributable
drewp@bigasterisk.com
parents:
diff changeset
4 sys.path.append('/my/proj/release')
2c4e8ef57f08 mqtt_client into a distributable
drewp@bigasterisk.com
parents:
diff changeset
5 from release import local_release
2c4e8ef57f08 mqtt_client into a distributable
drewp@bigasterisk.com
parents:
diff changeset
6
2c4e8ef57f08 mqtt_client into a distributable
drewp@bigasterisk.com
parents:
diff changeset
7 @task
2c4e8ef57f08 mqtt_client into a distributable
drewp@bigasterisk.com
parents:
diff changeset
8 def release(ctx):
2c4e8ef57f08 mqtt_client into a distributable
drewp@bigasterisk.com
parents:
diff changeset
9 local_release(ctx)