opendatadiscovery / odd-collectors

Apache License 2.0
8 stars 9 forks source link

Bump odd-collector-sdk dependencies. Migrate pydantic v1 -> v2 #61

Closed ValeriyWorld closed 4 months ago

ValeriyWorld commented 4 months ago

Tests invokes fine overall, but I got 1 strange warning, that does not look like warning actually for odd-collector-sdk codebase, as there are no "example" extra keys anywhere:

/Library/Caches/pypoetry/virtualenvs/odd-collector-sdk-3AXHpIVN-py3.9/lib/python3.9/site-packages/pydantic/fields.py:804: 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.7/migration/
image