Commit#
- class ansys.sam.sysml2.dto.commit.commit_class.Commit(project_id: str)#
Creates and structures a standard PySAM SysML2 commit.
Overview#
Add a change to the commit. |
|
Serialize the commit data into JSON data. |
Import detail#
from ansys.sam.sysml2.dto.commit.commit_class import Commit
Attribute detail#
- Commit.changes: List[ansys.sam.sysml2.dto.commit.data_version.DataVersion]#
Method detail#
- Commit.add_change(change: ansys.sam.sysml2.dto.commit.data_version.DataVersion)#
Add a change to the commit.
- Parameters:
- change
DataVersion Data version of the change.
- change