rc_configurator.fill¶
-
rc_configurator.
fill
(props, cache=True)[source]¶ Returns a dictionary filled with
rc
settings, used internally to build dictionaries for updatingArtist
instances.- Parameters
props (dict-like) – Dictionary whose values are names of
rc
settings. The values are replaced with the corresponding property only if__getitem__
does not returnNone
. Otherwise, that key, value pair is omitted from the output dictionary.cache (bool, optional) – If
False
, the__getitem__
mode is temporarily set to0
(seecontext
). Otherwise, if anrc
lookup returnsNone
, the setting is omitted from the output dictionary.