qubes.plugin ============ .. py:module:: qubes.plugin Attributes ---------- .. autoapisummary:: qubes.plugin.plugin Classes ------- .. autoapisummary:: qubes.plugin.QubesPlugin Module Contents --------------- .. py:class:: QubesPlugin Bases: :py:obj:`server.plugins.ome_plugin.OMEPlugin` This class represents the QUBES plugin, which is a subclass of OMEPlugin. It provides functionality to create metadata cards from URLs or JSON payloads. .. py:attribute:: mimetypes :type: tuple[str] :value: ('application/vnd.qubes+json',) .. py:attribute:: newsgroups :type: dict[str, str] .. py:attribute:: site_name :type: str :value: 'Qubes' .. py:attribute:: librarian_contact :type: str :value: 'info@qubeshub.org' .. py:attribute:: logo :type: str :value: 'https://qubeshub.org/groups/bioquest/File:/uploads/assets/imgs/bioquest_logo_transparent.png' .. py:method:: summarize(card: server.plugins.ome_plugin.EducationResource) -> str .. py:method:: make_metadata_card_from_url(url: str) -> server.plugins.ome_plugin.EducationResource This method creates a metadata card from a given URL. .. py:method:: make_metadata_card_from_json(json_payload: str) -> server.plugins.ome_plugin.EducationResource This method creates a metadata card from a given JSON payload. It currently does not implement any functionality. .. py:data:: plugin