query.QueryResult

Retain normalized provenance alongside an unmodified provider response.

Usage

Source

query.QueryResult(
    kind,
    query,
    provider,
    retrieved_at,
    metadata,
    data,
)

Parameter Attributes

kind: str
query: str
provider: str
retrieved_at: str
metadata: dict[str, Any]
data: dict[str, Any]

Methods

Name Description
to_dict() Return a JSON-serializable representation of the query result.

to_dict()

Return a JSON-serializable representation of the query result.

Usage

Source

to_dict()