[lint] miss checker docstring
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
e006e448ed
commit
3cd6f9fc34
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
"""Request checker"""
|
||||||
from flask import Request, abort
|
from flask import Request, abort
|
||||||
from demo.httpsig import HttpSignature
|
from demo.httpsig import HttpSignature
|
||||||
|
|
||||||
|
@ -5,6 +6,7 @@ from demo.httpsig import HttpSignature
|
||||||
def inbox_prechecker(
|
def inbox_prechecker(
|
||||||
request: Request,
|
request: Request,
|
||||||
) -> bool:
|
) -> bool:
|
||||||
|
"""Inbox request prechecker"""
|
||||||
try:
|
try:
|
||||||
payload = request.headers
|
payload = request.headers
|
||||||
parsec_signature = HttpSignature.parse_signature(
|
parsec_signature = HttpSignature.parse_signature(
|
||||||
|
|
Loading…
Reference in a new issue