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

Method __init__

camel/generators.py:292–300  ·  view source on GitHub ↗
(
        self,
        text_file_path: str,
    )

Source from the content-addressed store, hash-verified

290 """
291
292 def __init__(
293 self,
294 text_file_path: str,
295 ) -> None:
296 with open(text_file_path, "r") as f:
297 data_list: List[str] = f.read().splitlines()
298 self.data_list = [
299 " ".join(name.split(" ")[1:]) for name in data_list
300 ]
301
302 def from_role_files(self) -> Generator[str, None, None]:
303 r"""Generate text from the file.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected