Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def login(self, username: str, password: str, steam_guard: str) -> None:
self.steam_guard = guard.load_steam_guard(steam_guard)
self.username = username
self._password = password
LoginExecutor(username, password, self.steam_guard['shared_secret'], self._session).login()
self.was_login_executed = True
self.market._set_login_executed(self.steam_guard, self._get_session_id())