dict_intersection

sofia_redux.scan.utilities.utils.dict_intersection(options1, options2, initialized=False)[source]

Return the intersection of two dictionaries.

Parameters:
options1dict
options2dict
initializedbool, optional

A switch for use on recursive calls. Don’t mess.

Returns:
intersectiondict