Skip to content

Conversation

@Fokko
Copy link
Contributor

@Fokko Fokko commented Oct 16, 2023

The examples is deprecated

  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/

@Fokko Fokko changed the title Removeexample since it is deprecated Remove example since it is deprecated Oct 16, 2023
```
  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/
```
@Fokko Fokko merged commit affcbd1 into apache:main Oct 16, 2023
@Fokko Fokko deleted the fd-fix-warning branch October 16, 2023 20:45
@Fokko
Copy link
Contributor Author

Fokko commented Oct 16, 2023

Thanks @rdblue ! 🙌

@Fokko Fokko added this to the PyIceberg 0.5.1 release milestone Oct 16, 2023
Fokko added a commit that referenced this pull request Oct 16, 2023
```
  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/
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants