<s> from __future__ import absolute_import <EOL> from __future__ import division <EOL> from __future__ import print_function <EOL> from . constants import MSG_MOVED_BEFORE <EOL> from . server_message_serializer import ServerMessageSerializer <EOL> __all__ = [ '<STR_LIT>' ] <EOL> class MovedBeforeMessageSerializer ( ServerMessageSerializer ) : <EOL> MESSAGE_TYPE = MSG_MOVED_BEFORE <EOL> def serialize_fields ( self , message ) : <EOL> return { <EOL> '<STR_LIT>' : message . collection , <EOL> '<STR_LIT:id>' : message . id , <EOL> '<STR_LIT>' : message . before , <EOL> } </s>
