mirror of
https://github.com/lancedb/lancedb.git
synced 2026-07-05 03:50:40 +00:00
fix(python): branch-scope to_lance so branch handles don't read main
This commit is contained in:
@@ -860,6 +860,10 @@ impl Table {
|
||||
Ok(Tags::new(self.inner_ref()?.clone()))
|
||||
}
|
||||
|
||||
pub fn current_branch(&self) -> PyResult<Option<String>> {
|
||||
Ok(self.inner_ref()?.current_branch())
|
||||
}
|
||||
|
||||
#[getter]
|
||||
pub fn branches(&self) -> PyResult<Branches> {
|
||||
Ok(Branches::new(self.inner_ref()?.clone()))
|
||||
|
||||
Reference in New Issue
Block a user