determine_enabled_columns#

determine_enabled_columns(columns, column_mappings, tasks)[source]#

Filter visible columns based on the contents of the table.

E.g. country column is visible only if one of the HTTP requests carries geolocation information.

Parameters:
  • columns (List[str]) – List of human-readable column names

  • column_mappings (Dict[str, TaskColumn]) – Mappings of human name -> column desc

  • tasks (List[Task]) – List of tasks the dynamic condition is checked against

Returns:

List of filtered columns

Return type:

List[str]