def __init__(self, login: Optional[str]=None, password: Optional[str]=None, base_url: Optional[str]=None):
    'Instantiate the client and get an appropriate JWT token.\n\n        :param login: FAIRsharing username\n        :param password: Corresponding FAIRsharing password\n        :param base_url: The base URL\n        '
    self.base_url = (base_url or 'https://api.fairsharing.org')
    self.signin_url = f'{self.base_url}/users/sign_in'
    self.records_url = f'{self.base_url}/fairsharing_records'
    self.username = pystow.get_config('fairsharing', 'login', passthrough=login, raise_on_missing=True)
    self.password = pystow.get_config('fairsharing', 'password', passthrough=password, raise_on_missing=True)
    self.jwt = self.get_jwt()
    self.session = requests.Session()
    self.session.headers.update({'Accept': 'application/json', 'Content-Type': 'application/json', 'Authorization': f'Bearer {self.jwt}'})
Instantiate the client and get an appropriate JWT token.

:param login: FAIRsharing username
:param password: Corresponding FAIRsharing password
:param base_url: The base URL
def __init__(self, login: Optional[str]=None, password: Optional[str]=None, base_url: Optional[str]=None):
    'Instantiate the client and get an appropriate JWT token.\n\n        :param login: FAIRsharing username\n        :param password: Corresponding FAIRsharing password\n        :param base_url: The base URL\n        '
    self.base_url = (base_url or 'https://api.fairsharing.org')
    self.signin_url = f'{self.base_url}/users/sign_in'
    self.records_url = f'{self.base_url}/fairsharing_records'
    self.username = pystow.get_config('fairsharing', 'login', passthrough=login, raise_on_missing=True)
    self.password = pystow.get_config('fairsharing', 'password', passthrough=password, raise_on_missing=True)
    self.jwt = self.get_jwt()
    self.session = requests.Session()
    self.session.headers.update({'Accept': 'application/json', 'Content-Type': 'application/json', 'Authorization': f'Bearer {self.jwt}'})