elchicodepython / python-nocodb

NocoDB Python API Client
https://pypi.org/project/nocodb/
MIT License
64 stars 19 forks source link

feat: refactor logical filters and add tests #17

Closed fernando24164 closed 1 year ago

fernando24164 commented 1 year ago

Refactor logical filters and add tests to address #8

This pull request simplifies the implementation of the logical filters (Or, And, Not) by using f-strings instead of concatenation. It also adds unit tests for the logical filters in a new file called logical_test.py.

The purpose of this pull request is to improve the readability and maintainability of the filter module, as well as to increase the test coverage.

To test this pull request, you can run the logical_test.py file and verify that all the tests pass.

elchicodepython commented 1 year ago

Great work! :)