mirror of https://github.com/nucypher/nucypher.git
Create character_control with alice_control skeleton
parent
29d81fc851
commit
c9742903be
|
@ -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
|
Loading…
Reference in New Issue