mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
Use GDriveURLInfo instead of CloudURLInfo (#6608)
* Use GDriveURLInfo instead of CloudURLInfo * Update gdrive.py
This commit is contained in:
@@ -7,8 +7,7 @@ from functools import partialmethod
|
||||
import pytest
|
||||
from funcy import cached_property, retry
|
||||
|
||||
from dvc.fs.gdrive import GDriveFileSystem
|
||||
from dvc.path_info import CloudURLInfo
|
||||
from dvc.fs.gdrive import GDriveFileSystem, GDriveURLInfo
|
||||
from dvc.utils import tmp_fname
|
||||
|
||||
from .base import Base
|
||||
@@ -44,7 +43,7 @@ def _gdrive_retry(func):
|
||||
)(func)
|
||||
|
||||
|
||||
class GDrive(Base, CloudURLInfo):
|
||||
class GDrive(Base, GDriveURLInfo):
|
||||
@staticmethod
|
||||
def should_test():
|
||||
return bool(os.getenv(GDriveFileSystem.GDRIVE_CREDENTIALS_DATA))
|
||||
|
||||
Reference in New Issue
Block a user