remove wishful thinking type anotation

This commit is contained in:
forest 2021-02-15 18:35:44 -06:00
parent cc164dce01
commit 4c9a492ae3

View File

@ -41,7 +41,7 @@ def operation_with_id(operation_id: int):
def operation_without_id(): def operation_without_id():
return operation_impl(None) return operation_impl(None)
def operation_impl(operation_id: int|None): def operation_impl(operation_id: int):
if authorized_as_hub(request.headers): if authorized_as_hub(request.headers):
request_body_json = request.json request_body_json = request.json
request_body = json.loads(request_body_json) request_body = json.loads(request_body_json)