Skip to content

Commit

Source code in docs_src/capo_codecommit/types/commit.py
class Commit(TypedDict, closed=True):
    commit_id: NotRequired["capo_codecommit.types.object_id.ObjectId"]
    """<p>The full SHA ID of the specified commit. </p>"""
    tree_id: NotRequired["capo_codecommit.types.object_id.ObjectId"]
    """<p>Tree information for the specified commit.</p>"""
    parents: NotRequired["capo_codecommit.types.parent_list.ParentList"]
    """<p>A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.</p>"""
    message: NotRequired["capo_codecommit.types.message.Message"]
    """<p>The commit message associated with the specified commit.</p>"""
    author: NotRequired["capo_codecommit.types.user_info.UserInfo"]
    """<p>Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.</p>"""
    committer: NotRequired["capo_codecommit.types.user_info.UserInfo"]
    """<p>Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git.</p> <p>For more information about the difference between an author and a committer in Git, see <a href="http://git-scm.com/book/ch2-3.html">Viewing the Commit History</a> in Pro Git by Scott Chacon and Ben Straub.</p>"""
    additional_data: NotRequired["capo_codecommit.types.additional_data.AdditionalData"]
    """<p>Any other data associated with the specified commit.</p>"""

additional_data instance-attribute

additional_data: NotRequired[AdditionalData]

Any other data associated with the specified commit.

author instance-attribute

author: NotRequired[UserInfo]

Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.

commit_id instance-attribute

commit_id: NotRequired[ObjectId]

The full SHA ID of the specified commit.

committer instance-attribute

committer: NotRequired[UserInfo]

Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git.

For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.

message instance-attribute

message: NotRequired[Message]

The commit message associated with the specified commit.

parents instance-attribute

parents: NotRequired[ParentList]

A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

tree_id instance-attribute

tree_id: NotRequired[ObjectId]

Tree information for the specified commit.