Skip to content

Commit

Permalink
note not yet implemented instance listing
Browse files Browse the repository at this point in the history
  • Loading branch information
daroczig committed Dec 27, 2023
1 parent 786e7be commit f96fda8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sc_crawler/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ def __init__(self, **kwargs):
self._methods = import_module(vm)
except Exception:
raise NotImplementedError("Unsupported vendor")
pass

def get_datacenters(self, identifiers: [str] = None):
"""Get datacenters of the vendor.
Expand All @@ -89,7 +88,7 @@ def get_datacenters(self, identifiers: [str] = None):
return datacenters

def get_zones(self):
"""Get zones of the vendor."""
"""Get zones of the vendor from its datacenters."""
# make sure datacenters filled in
self._methods.get_datacenters(self)
# unlist
Expand All @@ -98,6 +97,7 @@ def get_zones(self):
)

def get_instance_types(self):
raise NotImplementedError
return self._methods.get_instance_types() # TODO


Expand Down

0 comments on commit f96fda8

Please sign in to comment.