Skip to content

Fix the pydantic and httpx lib warnings #100

Description

@pengfeng

tests/leettools/svc/test_docsink_router.py::test_regular_docsink_router
/Users/feng/opt/anaconda3/envs/leettools/lib/python3.11/site-packages/pydantic/fields.py:1011: PydanticDeprecatedSince20: min_items is deprecated and will be removed, use min_length instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.10/migration/
warn('min_items is deprecated and will be removed, use min_length instead', DeprecationWarning)

tests/leettools/svc/test_docsink_router.py::test_regular_docsink_router
/Users/feng/opt/anaconda3/envs/leettools/lib/python3.11/site-packages/httpx/_client.py:690: DeprecationWarning: The 'app' shortcut is now deprecated. Use the explicit style 'transport=WSGITransport(app=...)' instead.
warnings.warn(message, DeprecationWarning)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions