#!/usr/bin/python3
# require https://github.com/lupko/etcd3-client.git
= # host="localhost", port=2379)
=
=
, =
= +
# this is a function code start>
# cur = DB.cursor()
# cur.execute("SELECT input FROM test_source where id = %s", ([ID]))
# input = cur.fetchall()
# if len(input) > 0:
# cur.execute("insert into test_sink (data) values (%s)", ( input[0] ))
# DB.commit()