def _get_value(obj, key, default=missing):
if "<STR_LIT:.>" in key:<EOL><INDENT>return _get_value_for_keys(obj, key.split("<STR_LIT:.>"), default)<EOL><DEDENT>else:<EOL><INDENT>return _get_value_for_key(obj, key, default)<EOL><DEDENT>
Slightly-modified version of marshmallow.utils.get_value.
    If a dot-delimited ``key`` is passed and any attribute in the
    path is `None`, return `None`.