diff --git a/docs/source/api/tables.rst b/docs/source/api/tables.rst index 3a438ff..e1dc896 100644 --- a/docs/source/api/tables.rst +++ b/docs/source/api/tables.rst @@ -102,3 +102,7 @@ Type Information Helpers .. autodata:: AttributeValueType Represents the permitted set of values to be passed in when setting a Table attribute value. + +.. autoclass:: ArrowArrayProvider + + .. automethod:: __arrow_array__ diff --git a/quivr/__init__.py b/quivr/__init__.py index dd961a4..adf7938 100644 --- a/quivr/__init__.py +++ b/quivr/__init__.py @@ -53,7 +53,7 @@ ValidationError, ) from .linkage import Linkage, MultiKeyLinkage, combine_linkages, combine_multilinkages -from .tables import AnyTable, AttributeValueType, DataSourceType, Table +from .tables import AnyTable, AttributeValueType, DataSourceType, Table, ArrowArrayProvider from .validators import Validator, and_, eq, ge, gt, is_in, le, lt __all__ = [ @@ -125,4 +125,5 @@ "le", "lt", "InvalidColumnDataError", + "ArrowArrayProvider", ]