fraudtwin.write_graph#

fraudtwin.write_graph(datasets, output_dir, *, source_manifest, config, formats=('parquet', 'neo4j'))[source][source]#

Write one append-only graph artifact containing the requested views.

Return type:

tuple[Path, GraphManifest]

Parameters:
  • datasets (dict[Literal['observable', 'oracle'], ~fraudtwin.graph.GraphDataset])

  • output_dir (Path)

  • source_manifest (RunManifest)

  • config (SimulationRunConfig)

  • formats (tuple[str, ...])