code: def login(email, password):
      
      user = _login(API.login, email, password)
      user.password = password
      return user
docs: Login to Todoist.
  
      :param email: A Todoist user's email address.
      :type email: str
      :param password: A Todoist user's password.
      :type password: str
      :return: The Todoist user.
      :rtype: :class:`pytodoist.todoist.User`
  
      >>> from pytodoist import todoist
      >>> user = todoist.login('john.doe@gmail.com', 'password')
      >>> print(user.full_name)
      John Doe