コード例 #1
0
def item():
    item = Item()
    item.id = str(uuid4())
    item.content = "Test"
    item.result_score = 1.000
    return item
コード例 #2
0
def get_item():
    item = Item()
    item.id = str(uuid4())
    item.content = "Item Content"
    item.language = "de"
    return item