Utils¶
flowtask.components.Workday.utils.utils
¶
extract_by_type
¶
Given a list of {'_value_1':…, 'type':…} dicts (or a single dict),
return the _value_1 whose type matches desired_type, or None.
extract_nested
¶
Helper to extract nested data from a dict given a list of keys.
safe_serialize
¶
Serialize Decimal, list or dict into JSON-friendly string, or return empty string if None.