noctis.repository.neo4j.neo4j_functions._generate_files_string¶
- noctis.repository.neo4j.neo4j_functions._generate_files_string(folder_path: str | Path | None, prefix: str | None, items: List[str], item_type: str) str[source]¶
Generates a string of file descriptors for nodes or relationships.
- Parameters:
folder_path (Union[str, Path, None]): The path to the folder containing the CSV files. prefix (Union[str, None]): The prefix to be added to the CSV file names. items (List[str]): The list of node labels or relationship types. item_type (str): Either ‘labels’ or ‘types’ to specify whether we’re dealing with nodes or relationships.
- Returns:
str: A string of file descriptors joined by commas.