Skip to content

Commit

Permalink
remove duplicate fn get latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
PengLiVectra committed Nov 7, 2023
1 parent ab5e698 commit f6293b2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions python/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,6 @@ impl RawDeltaTable {
return Ok(PyBytes::new(py, &commit_log_bytes));
}

pub fn get_latest_version(&mut self) -> PyResult<i64> {
let latest_version = rt()?
.block_on(self._table.get_latest_version())
.map_err(PyDeltaTableError::from_raw)?;
Ok(latest_version)
}

pub fn metadata(&self) -> PyResult<RawDeltaTableMetaData> {
let metadata = self._table.get_metadata().map_err(PythonError::from)?;
Ok(RawDeltaTableMetaData {
Expand Down

0 comments on commit f6293b2

Please sign in to comment.