customs.Clearance

Represent the outcome of a source access check.

Usage

customs.Clearance(
    source,
    cleared,
    message="",
    details=dict(),
)

Parameter Attributes

source: str
cleared: bool
message: str = ""
details: dict[str, Any] = dict()

Attributes

source: str

Source identifier being validated.

cleared: bool

Whether access validation succeeded.

message: str, default=“”

Human-readable summary of the validation result.

details: dict[str, Any]
Source-specific metadata captured during validation.