Skip to main content
Fetch one change and its file/conflict summary. Required scope: read
change = await mesa.changes.get(
    repo="app",
    change_id="zyxwvutsrqponmlkzyxwvutsrqponmlk",
)

print(change.files)
print(change.conflicts)

Options

repo
str
required
Repository name.
change_id
str
required
Mesa change ID.
org
str | None
Organization override.

Response

id
str
Change ID.
current_commit_oid
str
Current commit OID for the change.
is_conflicted
bool
Whether the current commit still contains unresolved conflicts.
message
str
Current change description. Empty string means the change has no description.
author
CommitIdentity
Commit author identity.
committer
CommitIdentity
Committer identity.
parents
list[str]
Parent change IDs for this change.
created_at
datetime
Creation time.
updated_at
datetime
Last update time.
files
list[str]
Repository-relative paths changed by this change.
conflicts
list[str]
Repository-relative paths that still contain unresolved conflicts.

CommitIdentity

name
str
Author or committer display name.
email
str
Author or committer email address.
date
datetime | None
Timestamp for this identity when provided.