Last active
May 30, 2019 01:42
-
-
Save shcheklein/96a6646d066e7ad780ae9f03d49de7f5 to your computer and use it in GitHub Desktop.
villas.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
who = "@villasv - DVC CONTRIBUTOR" | |
try: | |
from google.cloud import storage | |
except ImportError: | |
storage = None | |
@classmethod | |
def supported(cls, config): | |
url_ok = cls.match(config[Config.SECTION_REMOTE_URL]) | |
deps_ok = all(cls.REQUIRES) | |
if url_ok and not deps_ok: | |
Logger.warning("missing dependencies") | |
return url_ok and deps_ok | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment