Refactor: Modularize object definitions and implement V3 Search beta recommendations.
This commit is contained in:
@@ -92,4 +92,12 @@ if __name__ == "__main__":
|
||||
}
|
||||
test_search("journal", query_nested, "Nested Logic (AND + OR group)")
|
||||
|
||||
# 6. Hosted File Link Search
|
||||
query_file_link = {
|
||||
"and": [
|
||||
{"field": "link_to_type", "op": "eq", "value": "journal"}
|
||||
]
|
||||
}
|
||||
test_search("hosted_file_link", query_file_link, "Hosted File Link Search (link_to_type='journal')")
|
||||
|
||||
print("Tests Complete.")
|
||||
|
||||
Reference in New Issue
Block a user