Create character_control with alice_control skeleton

pull/743/head
tuxxy 2019-02-09 17:58:27 -07:00
parent 29d81fc851
commit c9742903be
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
from flask import Flask
from nucypher.characters.lawful import Alice
def make_alice_control(drone_alice: Alice):
alice_control = Flask("alice-control")
@alice_control.route("/grant", methods=['POST'])
def grant():
"""
Character control endpoint for policy granting.
"""
pass
return alice_control