How to save session to file and then use method restore_session
ramonck opened this issue · comments
Ramon Lima commented
Hi,
I was wondering how I can save the session after login to a file and then use the restore_session method.
Thanks.
Faiz Jazadi commented
Save the session by using kyros_client.session.save_to_file(filename)
. To restore it, you can use restore_session method with a Session instance (which you can initiate from a file by using its from_file static method) as an argument.