You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by fo...@apache.org on 2023/10/16 20:45:06 UTC
[iceberg-python] branch main updated: Remove Pydantic field extra (#79)
This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git
The following commit(s) were added to refs/heads/main by this push:
new affcbd1 Remove Pydantic field extra (#79)
affcbd1 is described below
commit affcbd1ca024bcaaaa566898eac5ebfb4c10707e
Author: Fokko Driesprong <fo...@tabular.io>
AuthorDate: Mon Oct 16 22:45:01 2023 +0200
Remove Pydantic field extra (#79)
```
E pydantic.warnings.PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'example'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.4/migration/
```
---
pyiceberg/table/__init__.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/pyiceberg/table/__init__.py b/pyiceberg/table/__init__.py
index ad36255..53ffdbb 100644
--- a/pyiceberg/table/__init__.py
+++ b/pyiceberg/table/__init__.py
@@ -418,7 +418,6 @@ class Namespace(IcebergRootModel[List[str]]):
root: List[str] = Field(
...,
description='Reference to one or more levels of a namespace',
- example=['accounting', 'tax'],
)