beat.web.search.views module

beat.web.search.views.search_experiments(user, filters, time_delta=None)[source]

Retrieves all experiment results and parses for commonalities.

Parameters
  • user (User) – The user making the request and for which we will filter results for

  • filters (list) – A set of filters defined by the user on how to subselect experiments

  • time_delta (datetime.timedelta) – A optional time delta to restrict the search to experiments which are older than a given delta.

Returns

Containing the following fields:

’experiments’: [Experiment, …] ‘common_toolchains’:[], ‘common_protocols’: [Protocol, …], ‘common_analyzers’: [(Algorithm, (Block,…), …],

Return type

dict

beat.web.search.views.filters_from_query(query)[source]

Breaks down the input query into filters

beat.web.search.views.search(request)[source]

Casual search request

beat.web.search.views.view(request, author_name, query_name)[source]

Stored search request

beat.web.search.views.ls(request, author_name)[source]

List all accessible searches to the request user

beat.web.search.views.public_ls(request)[source]

List all public searches

beat.web.search.views.notify(request, author_name, query_name)[source]

Toggles notification for user