- class oioioi.zeus.problem_sources.ZeusProblemSource(zeus_instances=None)¶
- key = zeus¶
- choose_backend(path, original_filename=None)¶
Returns the dotted name of a
ProblemPackageBackendsuitable for processing a given package.
This function is called when an unpacking environment is created, i.e. from
- create_env(user, contest, path, package, form, round_id=None, visibility=Problem.VISIBILITY_FRIENDS, existing_problem=None, original_filename=None)¶
Creates an environment which will be later passed to
- make_form(request, contest, existing_problem=None)¶
Creates a form, which can be later filled in by the user with information necessary for obtaining the problem package.
If the request method is
POST, then the form should be filled with its data.