Skip to content

list_key_values

Source

Hook for getting a list of values from a list of maps based on a key.

Inputs

Name Type Default Required Description
src list True A list to extract the keys out of.
key str True
reject_keys dict None False A dict of keys with values to not include in output.
src_is_key_path bool False True If the src is a list and is meant to be a key path.
sep str / True For string src's, a separator for key path.

Arguments

Position Argument Type
1 src list
2 key str

Returns

Optional[list]