MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / copy

Method copy

camel/loaders/base_io.py:135–144  ·  view source on GitHub ↗

r"""Create a deep copy of this File

(self)

Source from the content-addressed store, hash-verified

133 )
134
135 def copy(self) -> "File":
136 r"""Create a deep copy of this File"""
137
138 return self.__class__(
139 name=self.name,
140 file_id=self.file_id,
141 metadata=deepcopy(self.metadata),
142 docs=deepcopy(self.docs),
143 raw_bytes=self.raw_bytes,
144 )
145
146
147def strip_consecutive_newlines(text: str) -> str:

Callers 15

get_default_themeFunction · 0.45
png_to_optimized_jpegFunction · 0.45
open_folder_imagesFunction · 0.45
edit_modularFunction · 0.45
ppt_to_imagesFunction · 0.45
layout_inductMethod · 0.45
gather_filesFunction · 0.45
__init__Method · 0.45
clear_stateMethod · 0.45
from_dictMethod · 0.45
update_recordsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected