Most DB API methods should support arbitrary keyword args
Mr0grog opened this issue · 2 comments
Most of the DB API methods have an explicit list of arguments; if you pass others, it’ll cause an error:
web-monitoring-processing/web_monitoring/db.py
Lines 233 to 238 in c2494d9
That’s useful for ensuring your code is correct, but it makes for a lot of extra work we often fail to do in keeping the Python API and the actual REST API in web-monitoring-db in sync. We should ideally support extra, arbitrary keyword arguments (in addition to the known ones) for most methods in order to be forward compatible.
Thinking more about priorities right now; I don’t think this is actually particularly essential (although still nice to have). Dropping this down in priority and taking it off the 2020 roadmap.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in seven days if no further activity occurs. If it should not be closed, please comment! Thank you for your contributions.