New Converter API
Pre-release
Pre-release
The converter newly only accepts schemas as a string. This allows the schema string to be generically generated. Futher the library provides a load_file
function under rel2graph.utils
to make switching to the new api as easy as possible.
Old way:
converter = Converter(path_to_file, my_iterator, my_graph)
New way:
from rel2graph.utils import load_file
converter = Converter(load_file(path_to_file), my_iterator, my_graph)