💄 make pycharm happy with explicit return
This commit is contained in:
parent
cf1a248538
commit
b5acd932b7
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ def get_http_status_by_code(code: int) -> Optional[str]:
|
|||
resp = HTTPStatus(code)
|
||||
if resp:
|
||||
return f"{resp.value} {resp.phrase}"
|
||||
return None
|
||||
|
||||
|
||||
def is_form_request(request: "Request") -> bool:
|
||||
|
|
Loading…
Add table
Reference in a new issue