ome_plugin

Classes

EducationResource

The metadata for an education resource to be communicated in the Exchange. This

OMEPlugin

This class is a placeholder for the OMEPlugin functionality.

Module Contents

class ome_plugin.EducationResource(/, **data: Any)

Bases: pydantic.BaseModel

The metadata for an education resource to be communicated in the Exchange. This could be a lesson plan, one or more datasets, documents, worksheets, images, or videos.

Attributes:

title: Description of title description: Description of description authors: Description of author authoring_institution: Description of authoring_institution subject_tags: Description of subject_tags creation_date: Description of creation_date last_modified_date: Description of last_modified_date usage: Description of usage

title: str = ''
description: str = ''
authors: list[str] = []
authoring_institution: str = ''
subject_tags: list[str] = []
creation_date: datetime.datetime | None = None
last_modified_date: datetime.datetime | None = None
source_url: str = ''
class ome_plugin.OMEPlugin

This class is a placeholder for the OMEPlugin functionality. It is currently empty and does not implement any specific methods or properties.

mimetypes: tuple[str, Ellipsis] = ()
newsgroups: dict[str, str]
make_metadata_card_from_url(url: str) EducationResource

This method is a placeholder for creating a metadata card. It currently does not implement any functionality.

make_metadata_card_from_json(json_payload: str) EducationResource

This method is a placeholder for creating a metadata card from JSON. It currently does not implement any functionality.