Animation#
- class ansys.dynamicreporting.core.serverless.item.Animation(*args, **kwargs)#
Bases:
FilePayloadMixin,ItemItem representing an animation/video payload.
Methods
Animation.add_tag(tag[, value])Add or update a single tag.
Animation.as_dict([recursive])Serialize the model into a plain dictionary.
Animation.create(**kwargs)Factory-style creation that dispatches to the correct subclass.
Delete the payload file and then the ORM instance.
Animation.filter(**kwargs)Return a collection of items, scoped by subclass type.
Animation.find([query])Search for items using an ADR query string.
Animation.get(**kwargs)Retrieve a single item instance, scoped by subclass type.
Return the raw tag string stored on this object.
Reset the in-memory ORM state for this object.
Animation.rem_tag(tag)Remove a tag by key, if it exists.
Animation.remove_tag(tag)Alias for
rem_tag()for backwards compatibility.Animation.render(*[, context, request])Render the item as HTML.
Animation.save(**kwargs)Save the payload file and ORM instance.
Animation.set_tags(tag_str)Replace all tags with the given tag string.
Attributes
Validated animation/video file content for this item.
Dataset associated with this item.
Database alias in which this object is stored.
File extension of the payload file, without the leading dot.
Absolute path to the payload file, if available.
Whether a payload file exists on disk.
Human-readable name for the item.
Whether this object has been successfully saved to the database.
Sequence index for ordering items within a dataset/session.
Session that owns this item.
Optional free-form source identifier for this item.
Tag string used to group and filter objects.
Item type identifier for animation items.
Timestamp when the item was created.
Globally unique identifier for this object.
- exception DoesNotExist(extra_detail: str = None)#
Bases:
DoesNotExist
- exception IntegrityError(extra_detail: str = None)#
Bases:
IntegrityError
- exception MultipleObjectsReturned(extra_detail: str = None)#
Bases:
MultipleObjectsReturned
- content: AnimContent = None#
Validated animation/video file content for this item.