oioioi.contests.attachment_registration

Module Contents

Classes

AttachmentRegistry

Maintains a collection of functions that

Attributes

class oioioi.contests.attachment_registration.AttachmentRegistry[source]

Bases: object

Maintains a collection of functions that return attachments for ‘Downloads’ view.

register(attachment_generator=None, order=sys.maxsize)[source]

Register function generating attachments.

Parameters

Function that takes elements from **kwargs as arguments and returns dictionary containing following keys: category, name, description, link, pub_date.

to_list(**kwargs)[source]
oioioi.contests.attachment_registration.attachment_registry[source]
oioioi.contests.attachment_registration.attachment_registry_problemset[source]