Skip to content

Commit

Permalink
fixing False>None
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollman committed Aug 11, 2023
1 parent 60445d3 commit 5a17fcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions materializationengine/blueprints/client/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def handle_simple_query(
limit=limit,
offset=data.get("offset", 0),
get_count=get_count,
random_sample=args.get("random_sample", False),
random_sample=args.get("random_sample", None),
)
qm.add_table(table_name)
qm.apply_filter(data.get("filter_in_dict", None), qm.apply_isin_filter)
Expand Down Expand Up @@ -317,7 +317,7 @@ def handle_complex_query(
limit=limit,
offset=data.get("offset", 0),
get_count=False,
random_sample=args.get("random_sample", False)
random_sample=args.get("random_sample",None)
)
if convert_desired_resolution:
if not data.get("desired_resolution", None):
Expand Down

0 comments on commit 5a17fcd

Please sign in to comment.