From 2f2cb984d489e22c87603e345c4e108a1d350a15 Mon Sep 17 00:00:00 2001 From: Rob Meng Date: Fri, 11 Aug 2023 18:58:41 -0400 Subject: [PATCH] [breaking change] make schema a property (#414) --- python/lancedb/table.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/lancedb/table.py b/python/lancedb/table.py index 63f60689..e1586aa0 100644 --- a/python/lancedb/table.py +++ b/python/lancedb/table.py @@ -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) """