code: def login(self, user: str, passwd: str) -> None:
          
          self.context.login(user, passwd)
docs: Log in to instagram with given username and password and internally store session object.
  
          :raises InvalidArgumentException: If the provided username does not exist.
          :raises BadCredentialsException: If the provided password is wrong.
          :raises ConnectionException: If connection to Instagram failed.
          :raises TwoFactorAuthRequiredException: First step of 2FA login done, now call :meth:`Instaloader.two_factor_login`.