Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: chasleslr/metabase-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5f5555dcd03d446665a526f0fe4e4e1deac52cb8
Choose a base ref
..
head repository: chasleslr/metabase-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6036a29c00c79be78e3fa40cd7a78bf48da5c8c6
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/metabase/mbql/query.py
2 changes: 1 addition & 1 deletion src/metabase/mbql/query.py
Original file line number Diff line number Diff line change
@@ -35,6 +35,6 @@ def _filters(self):
return self.filters

if len(self.filters) == 1:
return self.filters[0]
return self.filters[0].compile()

return ["and"] + [filt.compile() for filt in self.filters]