Skip to content

Doc string typo fix for PyJWT._validate_jti() function #1063

@kuldeepkhatke

Description

@kuldeepkhatke

Just a simple Doc string typo fix required for PyJWT._validate_jti() function

Expected Result

def _validate_jti(self, payload: dict[str, Any]) -> None:
        '''
        Checks whether "jti" if in the payload is valid **or** not
        This is an Optional claim

        :param payload(dict): The payload which needs to be validated
        '''

Actual Result

def _validate_jti(self, payload: dict[str, Any]) -> None:
        '''
        Checks whether "jti" if in the payload is valid **ot** not
        This is an Optional claim

        :param payload(dict): The payload which needs to be validated
        '''

Reproduction Steps

Check at pyjwt\jwt\api_jwt.py:439

System Information

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions