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

Method get_session

graphlite/src/exec/context.rs:127–131  ·  view source on GitHub ↗

Get the user session from session provider

(&self)

Source from the content-addressed store, hash-verified

125
126 /// Get the user session from session provider
127 pub fn get_session(&self) -> Option<Arc<std::sync::RwLock<UserSession>>> {
128 self.session_provider
129 .as_ref()?
130 .get_session(&self.session_id)
131 }
132
133 /// Get a variable value, checking session parameters first, then local variables
134 pub fn get_variable(&self, name: &str) -> Option<Value> {

Callers 12

get_variableMethod · 0.45
transaction_stateMethod · 0.45
get_current_schemaMethod · 0.45
execute_ddl_operationMethod · 0.45
process_queryMethod · 0.45
handle_session_resultMethod · 0.45
list_schemasMethod · 0.45
list_graphsMethod · 0.45
show_sessionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected