{"push_id":1482179314,"size":1,"distinct_size":1,"ref":"refs/heads/andy/improve-find","head":"c6b144f7fc0dd8d1dd666479a5d101decea39340","before":"e1367549b1e1156188158bbf8e3759e4c1b0c34e","commits":[{"sha":"c6b144f7fc0dd8d1dd666479a5d101decea39340","author":{"name":"Andreas Maier","email":"09eea454902a0a0e7ce97ef39ca648af84c1a80a@de.ibm.com"},"message":"Added server-side resource filtering.\n\nDetails:\n\n* Added a `filter_args` parameter to the `list()` methods in `BaseManager`\n  and in all derived resource classes, to support resource filtering.\n\n* In `findall()`, changed from client-side filtering to passing the\n  keyword arguments to the underlying `list()` method. Also, streamlined\n  the rest of the code somewhat.\n\n* Changed the keyword arguments of the `find()` and `findall()` methods\n  to be interpreted as filter arguments, and renamed the parameter\n  from `**kwargs` to `**filter_args` to document that. Note that renaming\n  a keyword arguments parameter is a compatible change.\n\n  However, the interpretation as filter arguments is incompatible in two\n  ways:\n  - For String typed resource properties, the provided string is now\n    interpreted as a regular expression, whereby previously it was compared\n    character by character. So if any special characters of regular\n    expressions are expected to be compared literally, that is no longer\n    the case.\n  - Resource properties of types other than String or String Enum can no\n    longer be used to filter the result.\n\n* Improved documentation of list(), find(), findall().\n\n* Added a section 'Filtering' that describes the filter mechanism in\n  detail.\n\n* Extended unit testcases in test_resource.py with tests for\n  transforming filter args into query parms.\n\nSigned-off-by: Andreas Maier <maiera@de.ibm.com>","distinct":true,"url":"https://api.github.com/repos/zhmcclient/python-zhmcclient/commits/c6b144f7fc0dd8d1dd666479a5d101decea39340"}]}
{"actor":{"display_login":"andy-maier"}}