_grid_interactor

class appian_locust._grid_interactor.GridInteractor

Bases: object

Set of utility methods for interacting with grids, i.e. finding them, and manipulating them

_get_grid_data(paging_grid: Dict[str, Any]) → Dict[str, Any]
_get_sort_info(field_name: str, ascending: bool) → List[Dict[str, Any]]
_to_save_data(grid_data: Dict[str, Any], paging_grid: Dict[str, Any]) → Dict[str, Any]
find_grid_by_index(index: int, form: Dict[str, Any]) → Dict[str, Any]
find_grid_by_label(label: str, form: Dict[str, Any]) → Dict[str, Any]
find_grid_by_label_or_index(form: Dict[str, Any], label: str = None, index: int = None) → Dict[str, Any]
format_grid_display_label(grid: Dict[str, Any]) → str
move_to_first_page(paging_grid: Dict[str, Any]) → Dict[str, Any]
move_to_last_page(paging_grid: Dict[str, Any]) → Dict[str, Any]
move_to_the_left(paging_grid: Dict[str, Any]) → Dict[str, Any]
move_to_the_right(paging_grid: Dict[str, Any]) → Dict[str, Any]
select_rows(paging_grid: Dict[str, Any], rows: List[int]) → Dict[str, Any]
sort_grid(field_name: str, paging_grid: Dict[str, Any], ascending: bool = False) → Dict[str, Any]
validate_sort(field_name: str, paging_grid: Dict[str, Any]) → None