Dataset#
- class ansys.dynamicreporting.core.serverless.item.Dataset(*args, **kwargs)#
Bases:
BaseModelMetadata describing a source dataset used for reporting.
Methods
Dataset.add_tag(tag[, value])Add or update a single tag.
Dataset.as_dict([recursive])Serialize the model into a plain dictionary.
Dataset.create(*args, **kwargs)Delete this object from the database.
Dataset.filter(*args, **kwargs)Dataset.find(*args, **kwargs)Dataset.get(*args, **kwargs)Return the raw tag string stored on this object.
Reset the in-memory ORM state for this object.
Dataset.rem_tag(tag)Remove a tag by key, if it exists.
Dataset.remove_tag(tag)Alias for
rem_tag()for backwards compatibility.Dataset.save(**kwargs)Dataset.set_tags(tag_str)Replace all tags with the given tag string.
Attributes
Database alias in which this object is stored.
Directory containing the dataset.
Dataset file name (without directory).
Dataset format identifier (for example
"hdf5").Number of elements (for example rows or mesh elements) in the dataset.
Number of parts in the dataset.
Whether this object has been successfully saved to the database.
Tag string used to group and filter objects.
Globally unique identifier for this object.