[breaking change] make schema a property (#414)

This commit is contained in:
Rob Meng
2023-08-11 18:58:41 -04:00
committed by GitHub
parent 9921b2a4e5
commit 2f2cb984d4

View File

@@ -93,9 +93,10 @@ class Table(ABC):
[Table.create_index][lancedb.table.Table.create_index].
"""
@property
@abstractmethod
def schema(self) -> pa.Schema:
"""Return the [Arrow Schema](https://arrow.apache.org/docs/python/api/datatypes.html#) of
"""The [Arrow Schema](https://arrow.apache.org/docs/python/api/datatypes.html#) of
this [Table](Table)
"""