early_learning.plugin ===================== .. py:module:: early_learning.plugin Attributes ---------- .. autoapisummary:: early_learning.plugin.plugin Classes ------- .. autoapisummary:: early_learning.plugin.EarlyLearningPlugin Module Contents --------------- .. py:class:: EarlyLearningPlugin Bases: :py:obj:`server.plugins.ome_plugin.OMEPlugin` Plugin for Early Learning Resource Network metadata integration. .. py:attribute:: mimetypes :type: tuple[str, Ellipsis] :value: ('application/vnd.earlylearning.early-learning+json',) .. py:attribute:: newsgroups :type: dict[str, str] .. py:attribute:: site_name :type: str :value: 'Early Learning Resource Network' .. py:attribute:: librarian_contact :type: str :value: 'info@iskme.org' .. py:attribute:: logo :type: str :value: 'https://www.earlylearningresourcenetwork.org/themes/custom/elrn/logo.png' .. py:method:: make_metadata_card_from_json(json_payload: str) -> server.plugins.ome_plugin.EducationResource Create an EducationResource from a raw JSON string. .. py:method:: make_metadata_card_from_dict(doc_dict: dict) -> server.plugins.ome_plugin.EducationResource Create an EducationResource from a Python dict. .. py:method:: _make_metadata_card(item: server.plugins.early_learning.early_learning_models.EarlyLearningItem) -> server.plugins.ome_plugin.EducationResource .. py:data:: plugin