40
41 if token:
42 try:
43 _load_user(token[config.identity_claim_key])44 return getattr(ctx_stack.top, 'jwt_user', None)
45 except UserLoadError:
46 pass
34 """
35 token = None
36 try:
37 token, _ = _decode_jwt_from_request('access')38 except (JWTExtendedException, PyJWTError):
39 token = getattr(ctx_stack.top, 'expired_jwt', None)
40
A required function parameter isn't provided while calling the function. This is an error.
def add_student(student, section):
students[section].append(student)
add_student("Aaron") # Missing parameter `section`
def add_student(student, section):
students[section].append(student)
add_student("Aaron", "10A")