Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 42 additions & 10 deletions libs/labelbox/tests/data/annotation_import/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2071,7 +2071,10 @@ def expected_export_v2_image():
{
"name": "text",
"value": "text",
"text_answer": {"content": "free form text..."},
"text_answer": {
"content": "free form text...",
"classifications": [],
},
},
],
"relationships": [],
Expand Down Expand Up @@ -2103,7 +2106,10 @@ def expected_export_v2_audio():
{
"name": "text",
"value": "text",
"text_answer": {"content": "free form text..."},
"text_answer": {
"content": "free form text...",
"classifications": [],
},
},
],
"segments": {},
Expand All @@ -2120,7 +2126,10 @@ def expected_export_v2_html():
{
"name": "text",
"value": "text",
"text_answer": {"content": "free form text..."},
"text_answer": {
"content": "free form text...",
"classifications": [],
},
},
{
"name": "checklist",
Expand Down Expand Up @@ -2180,7 +2189,10 @@ def expected_export_v2_text():
{
"name": "text",
"value": "text",
"text_answer": {"content": "free form text..."},
"text_answer": {
"content": "free form text...",
"classifications": [],
},
},
],
"relationships": [],
Expand Down Expand Up @@ -2301,10 +2313,12 @@ def expected_export_v2_document():
"left": 58.0,
"height": 65.0,
"width": 12.0,
"unit": "points",
},
"page_dimensions": {
"height": 792.0,
"width": 612.0,
"unit": "points",
},
},
],
Expand All @@ -2328,7 +2342,10 @@ def expected_export_v2_document():
{
"name": "text",
"value": "text",
"text_answer": {"content": "free form text..."},
"text_answer": {
"content": "free form text...",
"classifications": [],
},
},
],
"relationships": [],
Expand All @@ -2344,11 +2361,17 @@ def expected_export_v2_llm_prompt_response_creation():
{
"name": "prompt-text",
"value": "prompt-text",
"text_answer": {"content": "free form text..."},
"text_answer": {
"content": "free form text...",
"classifications": [],
},
},
{
"name": "response-text",
"text_answer": {"content": "free form text..."},
"text_answer": {
"content": "free form text...",
"classifications": [],
},
"value": "response-text",
},
{
Expand Down Expand Up @@ -2390,7 +2413,10 @@ def expected_export_v2_llm_prompt_creation():
{
"name": "prompt-text",
"value": "prompt-text",
"text_answer": {"content": "free form text..."},
"text_answer": {
"content": "free form text...",
"classifications": [],
},
},
],
"relationships": [],
Expand All @@ -2406,7 +2432,10 @@ def expected_export_v2_llm_response_creation():
"classifications": [
{
"name": "response-text",
"text_answer": {"content": "free form text..."},
"text_answer": {
"content": "free form text...",
"classifications": [],
},
"value": "response-text",
},
{
Expand Down Expand Up @@ -2518,7 +2547,10 @@ def expected_exports_v2_mmc(mmc_example_data_row_message_ids):
{
"name": "text",
"value": "text",
"text_answer": {"content": "free form text..."},
"text_answer": {
"content": "free form text...",
"classifications": [],
},
},
{
"name": "radio_index",
Expand Down
Loading