Skip to content

Commit 0e985d5

Browse files
committed
config
1 parent 93a1623 commit 0e985d5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎tests/manual/demo_workspace_search.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
Uses staging credentials from CLAUDE.md.
77
"""
88

9+
import os
910
import roboflow
1011

12+
thisdir = os.path.dirname(os.path.abspath(__file__))
13+
os.environ["ROBOFLOW_CONFIG_DIR"] = f"{thisdir}/data/.config"
1114

1215
WORKSPACE = "model-evaluation-workspace"
1316

@@ -16,7 +19,7 @@
1619

1720
# --- Single page search ---
1821
print("=== Single page search ===")
19-
page = ws.search("*", page_size=5)
22+
page = ws.search("project:false", page_size=5)
2023
print(f"Total results: {page['total']}")
2124
print(f"Results in this page: {len(page['results'])}")
2225
print(f"Continuation token: {page.get('continuationToken')}")

0 commit comments

Comments
 (0)