Source: factory.report/package.core/ObjReportMinMaxTable.py
Report Type takes in a set of data. It then detects the type of data for each column
and creates a new table with the field names, max values, min values, and average values:
| ------- | ---------- | ---------- | ------------- |
| Field | Min Value | Max Value | Average Value |
...
| Method | Signature | Description |
|---|---|---|
| RpcGetlist | RpcGetlist(data) |
|
| is_floats | is_floats(data) |
Takes a list of data and converts it to a list of floats. Returns None if a non-float value is detected. |
| is_integers | is_integers(data) |
Takes a list of data and converts it to a list of integers. Returns None if a non-integer value is detected. |
| is_dates | is_dates(data) |
Takes a list of data and converts it to a list of datetime objects. Returns None if a non-datetime value is detected. |
| is_nones | is_nones(data) |
Takes a list and determines if the list only contains None values. |
| find_max_num | find_max_num(data) |
Takes a list of integers and returns the maximum value. Function also handles lists that contain some None values. |
| find_min_num | find_min_num(data) |
Takes a list of integers and returns the minimum value. Function also handles lists that contain some None values. |
| find_max_string | find_max_string(data) |
Takes a list of strings and returns the maximum value. Function also handles lists that contain some None values. |
| find_min_string | find_min_string(data) |
Takes a list of strings and returns the minimum value. Function also handles lists that contain some None values. |
| find_min_date | find_min_date(data: list[datetime.datetime]) |
Takes a list of Datetime objects and returns the minimum value. Function also handles lists that contain some None values. |
| find_max_date | find_max_date(data: list[datetime.datetime]) |
Takes a list of Datetime objects and returns the maximum value. Function also handles lists that contain some None values. |
| get_columm_options | get_columm_options(report_options) -> json |
|
| Render | Render(param1 = '', param2 = '', param3 = '') |