slims.util module¶
-
slims.util.
display_field_value
(record: slims.internal.Record, fields: list) → None¶ Prints the results depending on the field.
Parameters: - (object (record) – Record): the results to displayed
- fields (list) – the fields to displayed it needs to be a list of string ([“field”] or [“field1”, “field2”])
-
slims.util.
display_results
(records: list, fields: list, number: int = None) → None¶ Prints to display the filtered results as a list of elements with their selected fields.
Parameters: - records (list) – List of results to display
- fields (list) – List of fields(String) to display it needs to be a list of string ([“field”] or [“field1”, “field2”])
- number (int) – the number of displayed results default value is None which displayed all existing results