Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix: added backward compatability for advanced params (#29)
* Remove operator and value in payload if they are None in AdvancedParams Sample: ```python { 'app': 'vanilla-search', 'query': { 'name': 'query', 'text': 'himawari', 'isFirstpage': False, 'strictRefine': False, 'removeDuplicates': False, 'action': 'search', 'page': 1, 'pageSize': 10, 'advanced': { 'collection': '/user_needs_database/snwg-assessments-2020/', # 'value': None, 'operator': None, } } } ``` * Bugfix payload generation for AdvancedParams Now col_name and values are checked to see if empty. * added support for advanced params according to documentation * fixed support for single or multiple advanced params --------- Co-authored-by: NISH1001 <nishanpantha@gmail.com>
- Loading branch information