Package bosco :: Module editor :: Class RunFinder
[hide private]
[frames] | no frames]

Class RunFinder

source code

object --+    
Observable --+

Searches for runs and/or runners.

Instance Methods [hide private]
__init__(self, store)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
get_results(self, limit=False, start=0)
Returns the results of the current search.
source code
set_search_term(self, term)
Set the search string
source code
@return List of (key, description) pairs of valid search domains.
source code
set_search_domain(self, domain) source code
Updates the internal search query.
source code

Inherited from Observable: add_observer, remove_observer

Inherited from Observable (private): _notify_observers

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _search_config = {'run': {'title': u'Run', 'joins': True, 'ter...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, store)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

set_search_domain(self, domain)

source code 
  • domain - set of search domains. Valid search domains are those defined in _search_config.

Class Variable Details [hide private]


{'run': {'title': u'Run', 'joins': True, 'terms':((, 'int'),),},\
 'sicard': {'title': u'SICard', 'joins': True, 'terms':((Run.sicard, '\
int'),),}, 'runner': {'title': u'Runner', 'joins': And(Run.sicard== SI\, SICard.runner==, 'terms':((Runner.given_name, 'par\
tial_string'), (Runner.surname, 'partial_string'), (Runner.number, 'ex\
act_string'), (Runner.solvnr, 'exact_string'),),}, 'team': {'title': u\
'Team', 'joins': And(Run.sicard==, SICard.runner==\
,, 'terms':((, 'partial_string'), (Tea\