Skip to main content
Version: latest

agrag.graphdb.cypher_store.query_parameter_attributes

query_parameter_attributes(parameters:Mapping[str, Any] | None) -> dict[str, str]

Build db.query.parameter.<key> span attributes.

Skips vector-valued parameters, skips the untraced user-text parameters, and strips vector-valued fields from nested dictionaries (including nested record dicts) before serializing each value to a string.