Pydantic v2 upgrade
Starting from major version 9, the Python SDK uses Pydantic v2. This change brings performance improvements, enhanced features, and bug fixes.
If you are already using the SDK, and choose to upgrade to major version 9, you may need to make some changes to your code.
For more information, see Pydantic v2 Upgrade.