arxiv.submission.domain.event.request module

Commands/events related to user requests.

class arxiv.submission.domain.event.request.ApplyRequest(creator, created=None, proxy=None, client=None, submission_id=None, committed=False, before=None, after=None, event_type=<factory>, event_version=<factory>, request_id=None)[source]

Bases: arxiv.submission.domain.event.base.Event

NAME = 'apply user request'
NAMED = 'user request applied'
project(submission)[source]
Return type

Submission

request_id = None
validate(submission)[source]
Return type

None

class arxiv.submission.domain.event.request.ApproveRequest(creator, created=None, proxy=None, client=None, submission_id=None, committed=False, before=None, after=None, event_type=<factory>, event_version=<factory>, request_id=None)[source]

Bases: arxiv.submission.domain.event.base.Event

Approve a user request.

NAME = 'approve user request'
NAMED = 'user request approved'
project(submission)[source]
Return type

Submission

request_id = None
validate(submission)[source]
Return type

None

class arxiv.submission.domain.event.request.CancelRequest(creator, created=None, proxy=None, client=None, submission_id=None, committed=False, before=None, after=None, event_type=<factory>, event_version=<factory>, request_id=None)[source]

Bases: arxiv.submission.domain.event.base.Event

NAME = 'cancel user request'
NAMED = 'user request cancelled'
project(submission)[source]
Return type

Submission

request_id = None
validate(submission)[source]
Return type

None

class arxiv.submission.domain.event.request.RejectRequest(creator, created=None, proxy=None, client=None, submission_id=None, committed=False, before=None, after=None, event_type=<factory>, event_version=<factory>, request_id=None)[source]

Bases: arxiv.submission.domain.event.base.Event

NAME = 'reject user request'
NAMED = 'user request rejected'
project(submission)[source]
Return type

Submission

request_id = None
validate(submission)[source]
Return type

None

class arxiv.submission.domain.event.request.RequestCrossList(creator, created=None, proxy=None, client=None, submission_id=None, committed=False, before=None, after=None, event_type=<factory>, event_version=<factory>, categories=<factory>)[source]

Bases: arxiv.submission.domain.event.base.Event

Request that a secondary classification be added after announcement.

NAME = 'request cross-list classification'
NAMED = 'cross-list classification requested'
project(submission)[source]

Create a cross-list request.

Return type

Submission

validate(submission)[source]

Validate the cross-list request.

Return type

None

class arxiv.submission.domain.event.request.RequestWithdrawal(creator, created=None, proxy=None, client=None, submission_id=None, committed=False, before=None, after=None, event_type=<factory>, event_version=<factory>, reason=<factory>)[source]

Bases: arxiv.submission.domain.event.base.Event

Request that a paper be withdrawn.

MAX_LENGTH = 400
NAME = 'request withdrawal'
NAMED = 'withdrawal requested'
project(submission)[source]

Update the submission status and withdrawal reason.

Return type

Submission

validate(submission)[source]

Make sure that a reason was provided.

Return type

None