rql_download.hooks.CWSearchExpirationDateHook¶
-
class
rql_download.hooks.
CWSearchExpirationDateHook
(req, event, **kwargs)[source]¶ On startup, register a task to add an expiration date to each CWSearch.
Methods
__init__
(req, event, **kwargs)check_events
()critical
(msg, *args, **kwargs)Log ‘msg % args’ with severity ‘CRITICAL’. cw_propval
(propid)return cw property value associated to key debug
(msg, *args, **kwargs)Log ‘msg % args’ with severity ‘DEBUG’. error
(msg, *args, **kwargs)Log ‘msg % args’ with severity ‘ERROR’. exception
(msg, *args, **kwargs)Convenience method for logging an ERROR with exception information. filterable_selectors
(*args, **kwargs)info
(msg, *args, **kwargs)Log ‘msg % args’ with severity ‘INFO’. warning
(msg, *args, **kwargs)Log ‘msg % args’ with severity ‘WARNING’. Attributes
category
eidfrom
eidto
entity
events
known_args
order
repo
rtype
-
__module__
= 'rql_download.hooks'¶
-
__regid__
= 'rsetftp.search_add_expiration_hook'¶
-
events
= ('before_add_entity',)¶
-