Skip to content

Commit affcbd1

Browse files
authored
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/ ```
1 parent a8d98a4 commit affcbd1

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

pyiceberg/table/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,6 @@ class Namespace(IcebergRootModel[List[str]]):
418418
root: List[str] = Field(
419419
...,
420420
description='Reference to one or more levels of a namespace',
421-
example=['accounting', 'tax'],
422421
)
423422

424423

0 commit comments

Comments
 (0)