mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
google cloud: fix cloud settings and requirements
These are to allow using OAuth with your dvc, as this is the recomended way to access gcp. Fixes #203 Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+1
-1
@@ -579,7 +579,7 @@ class DataCloudGCP(DataCloudBase):
|
||||
""" DataCloud class for Google Cloud Platform """
|
||||
@property
|
||||
def gc_project_name(self):
|
||||
return self._cloud_config.get('ProjectName', None)
|
||||
return self._cloud_settings.cloud_config.get('ProjectName', None)
|
||||
|
||||
def sanity_check(self):
|
||||
project = self.gc_project_name
|
||||
|
||||
@@ -88,3 +88,4 @@ colorama==0.3.9
|
||||
google-compute-engine==2.4.1
|
||||
configobj==5.0.6
|
||||
networkx==1.11
|
||||
gcs-oauth2-boto-plugin==1.14
|
||||
|
||||
Reference in New Issue
Block a user