irods / irods_rule_engine_plugin_python

BSD 3-Clause "New" or "Revised" License
10 stars 14 forks source link

genquery.py: Expose functionality of `_close()` in `Query` class #213

Closed korydraughn closed 3 months ago

korydraughn commented 4 months ago

Once GenQuery2 is supported by Query, it's important that the functionality of _close() be available directly. This is required to help keep memory usage down, especially in cases where multiple GenQuery2 queries are executed within a single rule.

To avoid breaking backwards compatibility, the function should be exposed through a wrapper.

def close(self):
    self._close()