Пример #1
0
def get_json_blob(project, id):
    """Based on the ID passed in, return the JSON blob"""
    ptm = PerformanceTestRefDataModel(project)
    blob = ptm.get_object_json_blob(id)
    ptm.disconnect()

    if blob:
        return blob[0]

    return {}
Пример #2
0
def get_json_blob(project, id):
    """Based on the ID passed in, return the JSON blob"""
    ptm = PerformanceTestRefDataModel(project)
    blob = ptm.get_object_json_blob(id)
    ptm.disconnect()

    if blob:
        return blob[0]

    return {}