biocypher.output.write._get_writer.get_writer
- biocypher.output.write._get_writer.get_writer(dbms: str, translator: Translator, deduplicator: Deduplicator, output_directory: str, strict_mode: bool)
Function to return the writer class based on the selection in the config file.
- Parameters:
dbms – the database management system; for options, see DBMS_TO_CLASS.
translator – the Translator object.
deduplicator – the Deduplicator object.
output_directory – the directory to output.write the output files to.
strict_mode – whether to use strict mode.
- Returns:
an instance of the selected writer class.
- Return type:
instance