From 250e6ab27ff33c0cd67311e10b3787d7f7d7ab8e Mon Sep 17 00:00:00 2001 From: simw Date: Tue, 5 Nov 2024 18:15:03 +0000 Subject: [PATCH] Version bump to 0.1.4 --- pyproject.toml | 2 +- src/pydantic_to_pyarrow/__init__.py | 2 +- src/pydantic_to_pyarrow/schema.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8630b6d..9fbd767 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "pydantic_to_pyarrow" -version = "0.1.3" +version = "0.1.4" description = "Conversion from pydantic models to pyarrow schemas" authors = ["Simon Wicks "] readme = "README.md" diff --git a/src/pydantic_to_pyarrow/__init__.py b/src/pydantic_to_pyarrow/__init__.py index f129e73..9252fd5 100644 --- a/src/pydantic_to_pyarrow/__init__.py +++ b/src/pydantic_to_pyarrow/__init__.py @@ -1,6 +1,6 @@ from .schema import SchemaCreationError, get_pyarrow_schema -__version__ = "0.1.3" +__version__ = "0.1.4" __all__ = [ "__version__", diff --git a/src/pydantic_to_pyarrow/schema.py b/src/pydantic_to_pyarrow/schema.py index 81e91d2..8515538 100644 --- a/src/pydantic_to_pyarrow/schema.py +++ b/src/pydantic_to_pyarrow/schema.py @@ -261,7 +261,7 @@ def get_pyarrow_schema( when converting datetime fields. Defaults to False. exclude_fields (bool, optional): If True, will exclude fields in the pydantic model that have `Field(exclude=True)`. Defaults to False. - by_alis (bool, optional): If True, will create the pyarrow schema using the + by_alias (bool, optional): If True, will create the pyarrow schema using the (serialization) alias in the pydantic model. Defaults to False. Returns: