Skip to content

ResourceSyncAttempt

Source code in docs_src/capo_proton/types/resource_sync_attempt.py
class ResourceSyncAttempt(TypedDict, closed=True):
    initial_revision: "capo_proton.types.revision.Revision"
    """<p>Detail data for the initial repository commit, path and push.</p>"""
    target_revision: "capo_proton.types.revision.Revision"
    """<p>Detail data for the target revision.</p>"""
    target: "str"
    """<p>The resource that is synced to.</p>"""
    started_at: "datetime.datetime"
    """<p>The time when the sync attempt started.</p>"""
    status: "capo_proton.types.resource_sync_status.ResourceSyncStatus"
    """<p>The status of the sync attempt.</p>"""
    events: "capo_proton.types.resource_sync_events.ResourceSyncEvents"
    """<p>An array of events with detail data.</p>"""

events instance-attribute

An array of events with detail data.

initial_revision instance-attribute

initial_revision: Revision

Detail data for the initial repository commit, path and push.

started_at instance-attribute

started_at: datetime

The time when the sync attempt started.

status instance-attribute

The status of the sync attempt.

target instance-attribute

target: str

The resource that is synced to.

target_revision instance-attribute

target_revision: Revision

Detail data for the target revision.