remove wishful thinking type anotation
This commit is contained in:
parent
cc164dce01
commit
4c9a492ae3
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user