qubes.plugin¶
Attributes¶
Classes¶
This class represents the QUBES plugin, which is a subclass of OMEPlugin. |
Module Contents¶
- class qubes.plugin.QubesPlugin¶
Bases:
server.plugins.ome_plugin.OMEPluginThis class represents the QUBES plugin, which is a subclass of OMEPlugin. It provides functionality to create metadata cards from URLs or JSON payloads.
- mimetypes: tuple[str] = ('application/vnd.qubes+json',)¶
- newsgroups: dict[str, str]¶
- site_name: str = 'Qubes'¶
- librarian_contact: str = 'info@qubeshub.org'¶
- logo: str = 'https://qubeshub.org/groups/bioquest/File:/uploads/assets/imgs/bioquest_logo_transparent.png'¶
- summarize(card: server.plugins.ome_plugin.EducationResource) str¶
- make_metadata_card_from_url(url: str) server.plugins.ome_plugin.EducationResource¶
This method creates a metadata card from a given URL.
- 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.
- qubes.plugin.plugin¶