early_learning.plugin

Attributes

plugin

Classes

EarlyLearningPlugin

Plugin for Early Learning Resource Network metadata integration.

Module Contents

class early_learning.plugin.EarlyLearningPlugin

Bases: server.plugins.ome_plugin.OMEPlugin

Plugin for Early Learning Resource Network metadata integration.

mimetypes: tuple[str, Ellipsis] = ('application/vnd.earlylearning.early-learning+json',)
newsgroups: dict[str, str]
site_name: str = 'Early Learning Resource Network'
librarian_contact: str = 'info@iskme.org'
make_metadata_card_from_json(json_payload: str) server.plugins.ome_plugin.EducationResource

Create an EducationResource from a raw JSON string.

make_metadata_card_from_dict(doc_dict: dict) server.plugins.ome_plugin.EducationResource

Create an EducationResource from a Python dict.

_make_metadata_card(item: server.plugins.early_learning.early_learning_models.EarlyLearningItem) server.plugins.ome_plugin.EducationResource
early_learning.plugin.plugin