adhocracy_core.sheets.image module¶
image sheet.
-
interface
IImageMetadata[source]¶ Extends:
adhocracy_core.sheets.asset.IAssetMetadataMarker interface for images.
-
validate_image_data_mimetype(node: adhocracy_core.schema.SchemaNode, value)[source]¶ Validate image mime type of value.
-
class
ImageMetadataSchema(*arg, **kw)[source]¶ Bases:
adhocracy_core.sheets.asset.AssetMetadataSchemaData structure storing image asset metadata.
-
interface
IImageReference[source]¶ Extends:
adhocracy_core.interfaces.ISheet,adhocracy_core.interfaces.ISheetReferenceAutoUpdateMarkerMarker interface for an image reference.
-
interface
ImageReference[source]¶ Extends:
adhocracy_core.interfaces.SheetToSheetReference to an image.
-
get_asset_choices(context, request) → [][source]¶ Return asset choices based on the available assets service.
-
class
ImageReferenceSchema(*arg, **kw)[source]¶ Bases:
adhocracy_core.schema.MappingSchemaData structure for the image reference sheet.