Skip to content

Commit 14e7497

Browse files
fix: use f-string for browser query so default_limit is interpolated (#110)
The browser-related query block in fullDesktopQuery used a plain triple-quoted string instead of an f-string, so {default_limit} was passed as a literal string to the query engine rather than being replaced with 100. The base query block above already used an f-string correctly for the same variable. Co-authored-by: mengfanxing <mengfanxing@neolix.ai>
1 parent a53cebe commit 14e7497

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aw_client/queries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def fullDesktopQuery(
274274

275275
# Add browser-related query parts if browser buckets exist
276276
if params.bid_browsers:
277-
query += """
277+
query += f"""
278278
browser_events = split_url_events(browser_events);
279279
browser_urls = merge_events_by_keys(browser_events, ["url"]);
280280
browser_urls = sort_by_duration(browser_urls);

0 commit comments

Comments
 (0)