예제 #1
0
 def __init__(self, service, version):
     self.service = service
     self.spec = compatible(version)
     self.version = version
예제 #2
0
 def _get_best_match(self, name, version):
     spec = compatible(version)
     return spec.select(Version(v) for v in self.__raw[name])