rql_upload.hooks.UploadHook¶
-
class
rql_upload.hooks.
UploadHook
(req, event, **kwargs)[source]¶ An upload entity is created/updated, store a fingerprint of binary data fields.
-
__init__
(req, event, **kwargs)¶
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_upload.hooks'¶
-
__regid__
= 'rql_upload.upload'¶
-
events
= ('before_add_entity', 'before_update_entity')¶
-
order
= -1¶
-