Skip to content

Commit

Permalink
Remove Pydantic field extra (#79)
Browse files Browse the repository at this point in the history
```
  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/
```
  • Loading branch information
Fokko authored Oct 16, 2023
1 parent a8d98a4 commit affcbd1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pyiceberg/table/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
)


Expand Down

0 comments on commit affcbd1

Please sign in to comment.