예제 #1
0
def image_has_tag(image_id, tag):
    image = api.get_registered_image(image_id)
    return tag in image.tags
예제 #2
0
def images_get(image_id):
    return u.render(api.get_registered_image(id=image_id).wrapped_dict)
예제 #3
0
파일: v10.py 프로젝트: Imperat/sahara
def images_get(image_id):
    return u.render(api.get_registered_image(image_id=image_id).wrapped_dict)
예제 #4
0
파일: service_api.py 프로젝트: wuhsh/sahara
def get_registered_image(image_id, **kwargs):
    return api.get_registered_image(image_id)
예제 #5
0
def image_has_tag(image_id, tag):
    image = api.get_registered_image(image_id)
    return tag in image.tags