scope_harness.ResultsView

class scope_harness.ResultsView

This is the main class for driving search and inspecting search results. Set search_query property to invoke search, then inspect categories property to access returned categories and their results. Use browse_department method to change active department.

active_scope
alt_department_id
browse_alt_department((ResultsView)arg1, (str)arg2) → Department :

Go to a specific alternate (e.g. the top-right selection filter if provided by the scope) department by id. Returns Department instance.

browse_department((ResultsView)arg1, (str)arg2) → Department :

Go to a specific department by id. Returns Department instance.

categories
category((ResultsView)arg1, (int)arg2) → Category :
category( (ResultsView)arg1, (str)arg2) -> Category :
Get Category instance by id
customizations
department_id
description
display_name
has_alt_departments
has_departments
icon_hint
query_id
scope_id
search_hint
search_query
session_id
settings
shortcut