arxiv.submission.domain.proposal module

Proposals provide a mechanism for suggesting changes to submissions.

The primary use-case in the classic submission & moderation system is for suggesting changes to the primary or cross-list classification. Such proposals are generated both automatically based on the results of the classifier and manually by moderators.

class arxiv.submission.domain.proposal.Proposal(event_id, creator, created=<factory>, proxy=None, proposed_event_type=None, proposed_event_data=<factory>, comments=<factory>, status=<Status.PENDING: 'pending'>)[source]

Bases: object

Represents a proposal to apply an event to a submission.

class Status[source]

Bases: enum.Enum

An enumeration.

ACCEPTED = 'accepted'
PENDING = 'pending'
REJECTED = 'rejected'
is_accepted()[source]
Return type

bool

is_pending()[source]
Return type

bool

is_rejected()[source]
Return type

bool

proposal_type

Name (str) of the type of annotation.

Return type

str

proposed_event_type = None
proxy = None
status = 'pending'