def create_item(id, item_type_id) -> Item: item = Item() item.id = id item.item_type_id = item_type_id return item
def item(): item = Item() item.id = str(uuid4()) item.in_progress_reviews_level_1 = 1 item.in_progress_reviews_level_2 = 1 return item
def item(): item = Item() item.id = str(uuid4()) return item
def item(): item = Item() item.id = str(uuid4()) item.content = "Test" item.result_score = 1.000 return item
def item2(): item = Item() item.id = str(uuid4()) item.status = 'open' return item
def get_item(): item = Item() item.id = str(uuid4()) item.content = "Item Content" item.language = "de" return item
def item_with_type(test_item_type: ItemType): item = Item() item.id = str(uuid4()) item.status = 'open' item.item_type_id = test_item_type.id return item
def item1(test_item_type: ItemType): item = Item() item.id = str(uuid4()) item.item_type_id = test_item_type.id return item