uotp/scripts/get-admin.py

8 lines
218 B
Python
Raw Normal View History

2019-11-20 09:57:12 +00:00
import decouple
from os.path import join as join_path
from etcd3_wrapper import Etcd3Wrapper
client = Etcd3Wrapper()
2019-11-20 09:57:12 +00:00
admin_uotp = client.get(join_path(decouple.config('BASE_PREFIX'), 'admin'))
print(admin_uotp.value)