Advertisement
lzedl

rhubab-kaboom

Jan 29th, 2019
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. # -*- coding: utf8 -*-
  2. from __future__ import absolute_import, print_function, unicode_literals
  3. import tasks
  4.  
  5.  
  6. @tasks.task_deco(name='get_task')
  7. def get_task(task):
  8.     print('Kaboom!')
  9.  
  10.  
  11. if __name__ == '__main__':
  12.     tasks.run_cli()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement