diff --git a/python/deltalake/table.py b/python/deltalake/table.py index 367debbf18..af1cf090da 100644 --- a/python/deltalake/table.py +++ b/python/deltalake/table.py @@ -411,6 +411,11 @@ def metadata(self) -> Metadata: return self._metadata def protocol(self) -> ProtocolVersions: + """ + Get the reader and writer protocol versions of the DeltaTable. + + :return: the current ProtocolVersions registered in the transaction log + """ return ProtocolVersions(*self._table.protocol_versions()) def history(self, limit: Optional[int] = None) -> List[Dict[str, Any]]: