Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 673112582
  • Loading branch information
colaboratory-team committed Sep 10, 2024
1 parent 14d69d1 commit 52e2f2a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions google/colab/drive.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ def _mount(
if ' ' in mountpoint:
raise ValueError('Mountpoint must not contain a space.')

if _os.environ.get('VERTEX_PRODUCT') == 'COLAB_ENTERPRISE':
print(
'WARNING: google.colab.drive.mount is not supported in'
' Colab Enterprise.'
)
return
metadata_server_addr = (
_os.environ['TBE_EPHEM_CREDS_ADDR']
if ephemeral
Expand Down

0 comments on commit 52e2f2a

Please sign in to comment.