Session#
- class ansys.dynamicreporting.core.serverless.item.Session(*args, **kwargs)#
Bases:
BaseModelExecution context for a reporting run.
A
Sessioncaptures environment information for a single ADR execution, such as host name, platform, and application version. It is referenced byIteminstances to group related content.Methods
Session.add_tag(tag[, value])Add or update a single tag.
Session.as_dict([recursive])Serialize the model into a plain dictionary.
Session.create(*args, **kwargs)Delete this object from the database.
Session.filter(*args, **kwargs)Session.find(*args, **kwargs)Session.get(*args, **kwargs)Return the raw tag string stored on this object.
Reset the in-memory ORM state for this object.
Session.rem_tag(tag)Remove a tag by key, if it exists.
Session.remove_tag(tag)Alias for
rem_tag()for backwards compatibility.Session.save(**kwargs)Session.set_tags(tag_str)Replace all tags with the given tag string.
Attributes
Application name that produced the session.
Database alias in which this object is stored.
Hostname where the session was created.
Platform/architecture identifier (for example
"win64").Whether this object has been successfully saved to the database.
Tag string used to group and filter objects.
Application version string.
Session creation timestamp, defaulting to the current time.
Globally unique identifier for this object.