@staticmethod<EOL><INDENT>def entity_type_to_remote(value):<DEDENT>
if value in DiasporaRetraction.mapped.values():<EOL><INDENT>values = list(DiasporaRetraction.mapped.values())<EOL>index = values.index(value)<EOL>return list(DiasporaRetraction.mapped.keys())[index]<EOL><DEDENT>return value<EOL>
Convert entity type between our Entity names and Diaspora names.