MCPcopy Create free account
hub / github.com/apache/datafusion / get_session

Method get_session

datafusion/session/src/session.rs:190–192  ·  view source on GitHub ↗

Get the current session of the store

(&self)

Source from the content-addressed store, hash-verified

188
189 /// Get the current session of the store
190 pub fn get_session(&self) -> Weak<RwLock<dyn Session>> {
191 self.session.lock().clone().unwrap()
192 }
193}
194
195impl Default for SessionStore {

Callers 1

try_newMethod · 0.80

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected