MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / init

Function init

core/src/lib.rs:85–90  ·  view source on GitHub ↗

Initialize the `GraphBit` core library with default configuration Note: Tracing/logging is NOT initialized here - the bindings (Python/JavaScript) control logging setup and it's disabled by default for cleaner output. To enable logging from Python: `graphbit.init(enable_tracing=True, log_level='info')`

()

Source from the content-addressed store, hash-verified

83/// control logging setup and it's disabled by default for cleaner output.
84/// To enable logging from Python: `graphbit.init(enable_tracing=True, log_level='info')`
85pub fn init() -> GraphBitResult<()> {
86 // Tracing is intentionally NOT initialized here.
87 // The Python/JS bindings handle tracing setup, disabled by default.
88 // This keeps output clean unless explicitly enabled by the user.
89 Ok(())
90}

Calls

no outgoing calls