Skip to content

CodeScanData

Source code in docs_src/capo_continuum/types/code_scan_data.py
class CodeScanData(TypedDict, closed=True):
    scan_run_id: "capo_continuum.types.scan_run_id.ScanRunId"
    """The unique scan identifier."""
    status: "capo_continuum.types.scan_status.ScanStatus"
    """Current customer-visible status."""
    origin: "capo_continuum.types.scan_origin.ScanOrigin"
    """Why the scan was created. Always present."""
    created_at: "datetime.datetime"
    """Time at which Continuum accepted the scan request."""
    completed_at: NotRequired["datetime.datetime"]
    """Time at which a terminal result was recorded."""
    failure_message: NotRequired[
        "capo_continuum.types.scan_run_failure_message.ScanRunFailureMessage"
    ]
    """Failure detail present for unsuccessful scans."""
    failure_stage: NotRequired[
        "capo_continuum.types.scan_failure_stage.ScanFailureStage"
    ]
    """Phase this scan failed in. Present only when `status` is FAILED, and absent for a scan that failed before this field existed."""

completed_at instance-attribute

completed_at: NotRequired[datetime]

Time at which a terminal result was recorded.

created_at instance-attribute

created_at: datetime

Time at which Continuum accepted the scan request.

failure_message instance-attribute

failure_message: NotRequired[ScanRunFailureMessage]

Failure detail present for unsuccessful scans.

failure_stage instance-attribute

failure_stage: NotRequired[ScanFailureStage]

Phase this scan failed in. Present only when status is FAILED, and absent for a scan that failed before this field existed.

origin instance-attribute

origin: ScanOrigin

Why the scan was created. Always present.

scan_run_id instance-attribute

scan_run_id: ScanRunId

The unique scan identifier.

status instance-attribute

status: ScanStatus

Current customer-visible status.