Minor text cleanup.

pull/3140/head
derekpierre 2023-06-12 09:52:28 -04:00
parent c4b217e223
commit f006dab27a
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
Implement prefix notation for access control conditions.
Implement prefix notation for access control conditions with logical operators.

View File

@ -1 +1 @@
Remove the use of infix notation for access control conditions in favor of prefix notation.
Remove the use of infix notation for access control conditions with logical operators in favor of prefix notation.

View File

@ -161,7 +161,7 @@ def _make_rest_app(this_node, log: Logger) -> Flask:
json.loads(str(decryption_request.context)) or dict()
) # nucypher_core.Context -> str -> dict
# Deserialize and instantiate ConditionLingo from the request data
# obtain condition from request
condition_lingo = json.loads(
str(decryption_request.conditions)
) # nucypher_core.Conditions -> str -> Lingo
@ -226,7 +226,7 @@ def _make_rest_app(this_node, log: Logger) -> Flask:
# Deserialize and instantiate the request
reenc_request = ReencryptionRequest.from_bytes(request.data)
# Deserialize and instantiate ConditionLingo from the request data
# obtain conditions from request
condition_lingo_list = json.loads(
str(reenc_request.conditions)
) # Conditions -> str -> List[Lingo]