adhocracy_core.sheets.embed module¶
Embed Sheet.
-
interface
IEmbed[source]¶ Extends:
adhocracy_core.interfaces.ISheetMarket interface for the embed sheet.
-
embed_code_config_adapter(context: <InterfaceClass adhocracy_core.interfaces.IResource>, request: <InterfaceClass pyramid.interfaces.IRequest>) → {}[source]¶ Return mapping to render adhocracy_core:templates/embed_code.html.
-
class
EmbedSchema(*arg, **kw)[source]¶ Bases:
adhocracy_core.schema.MappingSchemaEmbed sheet data structure.
embed_code: html code to embed the context resource in web pages. external_url: canonical URL that embeds the context resource.