From 4c9a492ae35a3ec4ed9d2ab1031e786b5ac7e07a Mon Sep 17 00:00:00 2001 From: forest Date: Mon, 15 Feb 2021 18:35:44 -0600 Subject: [PATCH] remove wishful thinking type anotation --- capsulflask/spoke_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capsulflask/spoke_api.py b/capsulflask/spoke_api.py index f07c541..b73f2f7 100644 --- a/capsulflask/spoke_api.py +++ b/capsulflask/spoke_api.py @@ -41,7 +41,7 @@ def operation_with_id(operation_id: int): def operation_without_id(): return operation_impl(None) -def operation_impl(operation_id: int|None): +def operation_impl(operation_id: int): if authorized_as_hub(request.headers): request_body_json = request.json request_body = json.loads(request_body_json)