Expands a dotted path into a nested dict; if value is set, the final key in the path will be set to value.
flattened_path (str) – the dotted path to expand to a nested dict
str
value (Union[bool, Decimal, float, int, list, str, None]) – final key’s value
Union
bool
Decimal
float
int
list
None
separator (str) – separator between dict keys in flattened_path
dict