Query Module¶
These are the query methods used for interactive query.
-
pacifica.cli.query.execute_pager(content)[source]¶ Find the appropriate pager default is embedded python pager.
-
pacifica.cli.query.filter_results(md_update, query_obj, regex)[source]¶ Filter the results of query_obj by regex and save result back into md_update.
-
pacifica.cli.query.format_query_results(md_update, query_obj)[source]¶ Format the query results and return some data structures.
-
pacifica.cli.query.interactive_select_loop(md_update, query_obj, default_id)[source]¶ While loop to ask users what they want to select.
-
pacifica.cli.query.paged_content(title, display_data, valid_ids)[source]¶ Display the data yielding results.
-
pacifica.cli.query.remove_results(md_update)[source]¶ Remove the query results before passing it on.
-
pacifica.cli.query.set_query_obj(dep_meta_ids, md_update, obj)[source]¶ Return the query object or false.