Skip to main content

py_get_str

Function py_get_str 

Source
fn py_get_str(e: &Map<String, Value>, key: &str) -> String
Expand description

e.get(key, "") inside an f-string. The default only applies when the key is absent: a key present with a null value renders as None, which is what the report lines actually print for a direction entry.