Skip to content

Revision

Source code in docs_src/capo_codestar_connections/types/revision.py
class Revision(TypedDict, closed=True):
    branch: "capo_codestar_connections.types.branch_name.BranchName"
    """<p>The branch name for a specific revision.</p>"""
    directory: "capo_codestar_connections.types.directory.Directory"
    """<p>The directory, if any, for a specific revision.</p>"""
    owner_id: "capo_codestar_connections.types.owner_id.OwnerId"
    """<p>The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.</p>"""
    repository_name: "capo_codestar_connections.types.repository_name.RepositoryName"
    """<p>The repository name for a specific revision.</p>"""
    provider_type: "capo_codestar_connections.types.provider_type.ProviderType"
    """<p>The provider type for a revision, such as GitHub.</p>"""
    sha: "capo_codestar_connections.types.sha.SHA"
    """<p>The SHA, such as the commit ID, for a specific revision.</p>"""

branch instance-attribute

branch: BranchName

The branch name for a specific revision.

directory instance-attribute

directory: Directory

The directory, if any, for a specific revision.

owner_id instance-attribute

owner_id: OwnerId

The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.

provider_type instance-attribute

provider_type: ProviderType

The provider type for a revision, such as GitHub.

repository_name instance-attribute

repository_name: RepositoryName

The repository name for a specific revision.

sha instance-attribute

sha: SHA

The SHA, such as the commit ID, for a specific revision.