arxiv.submission.services.classic.event module

Persistence for NG events in the classic database.

class arxiv.submission.services.classic.event.DBEvent(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

Database representation of an Event.

client
client_id
created
creator
creator_id
data
event_id
event_type
event_version
get_created()[source]

Get the UTC-localized creation time for this event.

Return type

datetime

proxy
proxy_id
submission
submission_id
to_event()[source]

Instantiate an Event using event data from this instance.

Return type

Event

Returns

Event