sherlockpipe.ttvs.get_from_user

sherlockpipe.ttvs.get_from_user(target, key)

Extract a value from a dictionary by key, returning None if not present.

Parameters

targetdict

The dictionary to search.

keystr

The key to look up.

Returns

object or None

The value associated with key, or None if target is not a dictionary or the key is missing.