oioioi.problems.unpackmgr
¶
Module Contents¶
Functions¶
|
Creates (or modifies) a |
Attributes¶
- oioioi.problems.unpackmgr.unpackmgr_job(env)[source]¶
Creates (or modifies) a
Problem
instance using a package file represented by aProblemPackage
.- Used
env
keys: package_id
: id of theProblemPackage
instance to processbackend_name
: problem package backend (dotted name) to be used for unpackingpost_upload_handlers
: a list of handler functions to be called after the new problem is created
Before the handlers are called, the following
env
keys are produced:job_id
: theCelery
task idproblem_id
: id of theProblemPackage
instance, which was created or modified- Used