server.make_education_resource ============================== .. py:module:: server.make_education_resource Attributes ---------- .. autoapisummary:: server.make_education_resource.json_path Classes ------- .. autoapisummary:: server.make_education_resource.EducationResource Functions --------- .. autoapisummary:: server.make_education_resource.oercommonts_to_metadata_card Module Contents --------------- .. py:class:: EducationResource(/, **data: Any) Bases: :py:obj:`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 .. py:attribute:: title :type: str :value: '' .. py:attribute:: description :type: str :value: '' .. py:attribute:: authors :type: list[str] :value: '' .. py:attribute:: authoring_institution :type: str :value: '' .. py:attribute:: subject_tags :type: list[str] :value: [] .. py:attribute:: creation_date :type: datetime.datetime | None :value: None .. py:attribute:: last_modified_date :type: datetime.datetime | None :value: None .. py:attribute:: source_url :type: str :value: '' .. py:function:: oercommonts_to_metadata_card(oercommons_item: server.oercommons_models.Model) -> EducationResource Convert an OERCommonsModel item to an EducationResource. .. py:data:: json_path