Skip to content

Preview

Source code in docs_src/capo_apiportal/types/preview.py
class Preview(TypedDict, closed=True):
    preview_status: "capo_apiportal.types.preview_status.PreviewStatus"
    """The status of the preview."""
    status_exception: NotRequired[
        "capo_apiportal.types.portal_status_exception.PortalStatusException"
    ]
    preview_url: NotRequired["str"]
    """The URL to view the preview. Present when `previewStatus` is `PREVIEW_READY`."""

preview_status instance-attribute

preview_status: PreviewStatus

The status of the preview.

preview_url instance-attribute

preview_url: NotRequired[str]

The URL to view the preview. Present when previewStatus is PREVIEW_READY.

status_exception instance-attribute

status_exception: NotRequired[PortalStatusException]