I am trying to authenticate google api and after following all the necessary steps like making credentials and installing pydrive, I am faced with this error when running the main.py module TypeError: GoogleAuth.LocalWebserverAuth() missing 1 required positional argument: 'self'
Do you guys have any idea how to fix it. thank you in advance :)
main.py code
from pydrive.drive import GoogleDrive
gauth = GoogleAuth
gauth.LocalWebserverAuth()
drive = GoogleDrive(gauth)