Using Graph Importer ====================================== You can import graphs contained in a GraphSON file to your database by using the GraphImporter. You can provide the configuration for the Graph Importer via a configuration dictionary as illustrated in the next example: .. code-block:: python :linenos: from opg4py.graph_importer import GraphImporter config = { 'jdbc_url' : '', 'username' : '', 'password' : '', 'file_path' : '', 'graph_name' : '', 'output_format': '', 'input_format' : 'graphson' } importer = GraphImporter(config) create_statement = importer.import_graph() When the import has finished you will obtain the CPG statement in the variable ``create_statement`` as a result of the success of the import process. Once the process is done, you can start working with your graph via any client (e.g., *SQLcl*, *SQL Developer*). .. autoclass:: opg4py.graph_importer.GraphImporter :members: :noindex: