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

Method with_name

dlt/extract/resource.py:235–237  ·  view source on GitHub ↗

Clones the resource with a new name. Such resource keeps separate state and loads data to `new_name` table by default.

(self, new_name: str, new_section: str = None)

Source from the content-addressed store, hash-verified

233 return self._pipe.name
234
235 def with_name(self, new_name: str, new_section: str = None) -> Self:
236 """Clones the resource with a new name. Such resource keeps separate state and loads data to `new_name` table by default."""
237 return self._clone(new_name=new_name, new_section=new_section, with_parent=True)
238
239 @property
240 def is_transformer(self) -> bool:

Callers 15

_sourceFunction · 0.80
rename_columnsFunction · 0.80
normalize_py_arrow_itemFunction · 0.80
stream_and_merge_csvFunction · 0.80
copy_files_resourceFunction · 0.80
test_http_filesystemFunction · 0.80

Calls 1

_cloneMethod · 0.95