surrealdb / surrealdb.py

SurrealDB SDK for Python
https://surrealdb.com
Apache License 2.0
170 stars 49 forks source link

Bump pydantic #72

Closed applied-mathematician closed 6 months ago

applied-mathematician commented 9 months ago

Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.

What is the motivation?

Modern tools are using pydantic 2.x. In particular, it is required to use pydantic-settings. The pinning of surrealdb 0.3.x to pydantic 1.x causes a version requirement conflict.

Type of Change

What does this change do?

What is your testing strategy?

Any requests to the websocket client will test validate params with the updated decorator.

Is this related to any issues?

(https://github.com/surrealdb/surrealdb.py/issues/71)

Have you read the Contributing Guidelines?

AlexFrid commented 6 months ago

Closing this as #66 has been merged