Closed ahwagner closed 5 years ago
😆 hah, that's funny. I didn't realize this was already in civic-server. I actually didn't like this as-is; I'm going to refactor quick, and in a way that should make it easy to re-use in CIViC. Stay tuned.
If we add an entrypoint to setup.py it will make it easier to call the script from a civicpy install.
This draft PR is for evaluation of a
status_filters
parameter for theget_all_<element>
methods. The intended usage is to add to the parameter list any status to exclude from results.Discussion point: we could alternatively provide the complete list by default as a
include_status
parameter, and have people remove statuses from the list that they do not wish to view.