Fixed deprecation warnings to ensure forward compatibility: 1. Pydantic v2 Migration (embedding/models.py): - Migrated from class Config to model_config = ConfigDict() - Replaced deprecated class-based config pattern - Fixes PydanticDeprecatedSince20 warnings (3 occurrences) - Forward compatible with Pydantic v3.0 2. Asyncio Deprecation Fix (test_async_scraping.py): - Changed asyncio.iscoroutinefunction() to inspect.iscoroutinefunction() - Fixes Python 3.16 deprecation warning (2 occurrences) - Uses recommended inspect module API 3. Lock File Update (uv.lock): - Updated dependency lock file Impact: - Reduces test warnings from 141 to ~75 - Improves forward compatibility - No functional changes Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
11 KiB
11 KiB