MCPcopy
hub / github.com/dlt-hub/dlt / _clone_hints

Method _clone_hints

dlt/extract/hints.py:662–666  ·  view source on GitHub ↗
(hints_template: TAny)

Source from the content-addressed store, hash-verified

660
661 @staticmethod
662 def _clone_hints(hints_template: TAny) -> TAny:
663 if hints_template is None:
664 return None
665 # creates a deep copy of dict structure without actually copying the objects
666 return clone_dict_nested(hints_template)
667
668 def _resolve_hint(
669 self, hint_name: str, item: TDataItem, hint: TTableHintTemplate[TAny]

Callers 4

compute_table_schemaMethod · 0.95
apply_hintsMethod · 0.95
_cloneMethod · 0.80

Calls 1

clone_dict_nestedFunction · 0.90

Tested by

no test coverage detected