Lines Matching refs:to_dict
2575 def _merge_props(to_dict: dict,
2599 if (isinstance(to_dict.get(prop), dict)
2601 _merge_props(to_dict[prop], from_dict[prop], prop, binding_path,
2603 elif prop not in to_dict:
2604 to_dict[prop] = from_dict[prop]
2605 elif _bad_overwrite(to_dict, from_dict, prop, check_required):
2613 isinstance(to_dict["required"], bool)):
2618 to_dict["required"] = to_dict["required"] or from_dict["required"]
2621 def _bad_overwrite(to_dict: dict, from_dict: dict, prop: str,
2626 if to_dict[prop] == from_dict[prop]:
2636 return from_dict[prop] and not to_dict[prop]