#NEWLINE# @ classmethod #NEWLINE# def from_credentials( cls , username , password ) : #NEWLINE# #INDENT# '\n        :param username: The username to log in with.\n        :type username: str\n        :param password: The password to log in with.\n        :type password: str\n        ' #NEWLINE# return cls ( Session . login ( username , password ) )