MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / new

Method new

graphlite/src/exec/executor.rs:60–69  ·  view source on GitHub ↗

Create a new execution request with minimal required information

(statement: Statement)

Source from the content-addressed store, hash-verified

58impl ExecutionRequest {
59 /// Create a new execution request with minimal required information
60 pub fn new(statement: Statement) -> Self {
61 Self {
62 statement,
63 session: None,
64 graph_expr: None,
65 query_text: None,
66 physical_plan: None,
67 requires_graph_context: None,
68 }
69 }
70
71 /// Set the user session
72 pub fn with_session(mut self, session: Option<Arc<std::sync::RwLock<UserSession>>>) -> Self {

Callers

nothing calls this directly

Calls 2

cloneMethod · 0.80
with_session_providerMethod · 0.45

Tested by

no test coverage detected