Skip to content

Commit e1e5373

Browse files
committed
fixes
1 parent c06b732 commit e1e5373

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

src/demo/customer_id_and_tags.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
load_dotenv()
88

9-
os.environ["JUDGMENT_API_URL"] = "http://localhost:8000"
10-
119
judgment = Tracer(
1210
api_key=os.getenv("JUDGMENT_API_KEY"),
1311
organization_id=os.getenv("JUDGMENT_ORG_ID"),
@@ -24,7 +22,7 @@ def test_metadata():
2422
print(f"Generated customer ID: {customer_id}")
2523

2624
# Define tags
27-
tags = ["test", "example", "metadata"]
25+
tags = ["demo", "development"]
2826
print(f"Using tags: {tags}")
2927

3028
# Set both customer ID and tags at once

trace_metadata.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
2-
"trace_id": "00e76f02-095d-471a-b677-8ba2be3146fc",
2+
"trace_id": "2619930e-c576-4311-9702-38e385a09587",
33
"name": "test_metadata",
44
"project_name": "metadata-test",
5-
"created_at": 1747622984.1897202,
6-
"customer_id": "customer-8741",
5+
"created_at": 1747623066.983828,
6+
"customer_id": "customer-9047",
77
"tags": [
8-
"test",
9-
"example",
10-
"metadata"
8+
"demo",
9+
"development"
1110
]
1211
}

0 commit comments

Comments
 (0)