societe-generale/spintest

Token type in spintest method

NavarroEric opened this issue · 0 comments

Hi,

I want to give a token generator to the function:

def spintest( urls: List[str], tasks: List[Dict[str, str]], token: str = None, parallel: bool = False, verify: bool = True, generate_report: Optional[str] = None, ):

Like the documentation says, we can give token string directly or a callable to generate the token, but the method shows that the token type is a string.

When I give a callable it works but there are some warnings due to the token type defined.

Thanks