Pickling is a horrible way of going about storing important information, but because Google did not have good documentation for how to store important information I was lead to believe it was the only option. Turns out I did not research enough, and that it is rather easy to store this information in a JSON format, see Credentials.from_authorized_user_file.
Switching to this method can prevent any sort of issues arising from ever using pickling, that being potential security bugs mainly.
Pickling is a horrible way of going about storing important information, but because Google did not have good documentation for how to store important information I was lead to believe it was the only option. Turns out I did not research enough, and that it is rather easy to store this information in a JSON format, see
Credentials.from_authorized_user_file
.Switching to this method can prevent any sort of issues arising from ever using pickling, that being potential security bugs mainly.