arxiv.submission.domain.event.versioning.version_0_0_0_example module¶
An example version mapping module.
This module gathers together all event mappings for version 0.0.0.
The mappings in this module will never be used, since there are no data prior to version 0.0.0.
-
class
arxiv.submission.domain.event.versioning.version_0_0_0_example.SetTitleExample[source]¶ Bases:
arxiv.submission.domain.event.versioning._base.BaseVersionMappingPerform no changes whatsoever to the title field.
-
class
Meta[source]¶ Bases:
objectMetadata about this mapping.
-
event_type= 'SetTitle'¶ This mapping applies to
domain.event.SetTitle.
-
event_version= '0.0.0'¶ All of the mappings in this module are for the same version.
-
tests= [({'event_version': '0.0.0', 'title': 'The title'}, {'event_version': '0.0.0', 'title': 'The best title!!'})]¶ Expected changes to the
titlefield.
-
-
class