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 43024a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions google/colab/drive.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ def _mount(
if ' ' in mountpoint:
raise ValueError('Mountpoint must not contain a space.')

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

0 comments on commit 43024a2

Please sign in to comment.