def get_jwt(self) -> str:
    'Get the JWT.'
    payload = {'user': {'login': self.username, 'password': self.password}}
    res = requests.post(self.signin_url, json=payload).json()
    return res['jwt']
Get the JWT.
def get_jwt(self) -> str:
    
    payload = {'user': {'login': self.username, 'password': self.password}}
    res = requests.post(self.signin_url, json=payload).json()
    return res['jwt']