The easy way to search for all "open" bugs is documented[1] as searching for bugs with a Resolution of ---. This doesn't seem to be possible easily as the build_query method doesn't have a resolution argument.
[1] https://bugzilla.readthedocs.io/en/latest/api/core/v1/bug.html#search-bugs