Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 585746452
  • Loading branch information
mayankmalik-colab authored and colaboratory-team committed Dec 4, 2023
1 parent d33801d commit df3fcfd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions google/colab/_import_hooks/_pydrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ def PatchedLocalWebServerAuth(self, *args, **kwargs): # pylint:disable=invalid-
pydrive_auth_module.GoogleAuth.LocalWebserverAuth = (
PatchedLocalWebServerAuth
)
logging.warning(
' PyDrive is deprecated and no longer maintained. We'
' recommend that you migrate your projects to PyDrive2, the'
' maintained fork of PyDrive'
)
except: # pylint: disable=bare-except
logging.exception('Error patching PyDrive')

Expand Down

0 comments on commit df3fcfd

Please sign in to comment.