Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improve type safety and mypy configuration - Add type-safe wrapp… #2

Merged
merged 4 commits into from
Nov 30, 2024

Conversation

technohippies
Copy link
Owner

…er for langfuse observe decorator - Fix literal type constraints for as_type parameter - Disable untyped decorators check in mypy config 改进:- 增加 langfuse observe 装饰器的类型安全包装 - 修复 as_type 参数的字面类型约束 - 调整 mypy 配置以处理未类型化装饰器

…er for langfuse observe decorator - Fix literal type constraints for as_type parameter - Disable untyped decorators check in mypy config 改进:- 增加 langfuse observe 装饰器的类型安全包装 - 修复 as_type 参数的字面类型约束 - 调整 mypy 配置以处理未类型化装饰器
@technohippies technohippies force-pushed the fix/type-safety-improvements branch from d7aed8f to f2f343d Compare November 30, 2024 14:05
technohippies added 2 commits November 30, 2024 20:12
…- Fix test_ingest_song to properly mock GeniusAPI 改进:- 更新 .gitignore 以更好地处理环境文件 - 修复 test_ingest_song 中的 API 模拟
…avor of model_dump - Add mock for update_song_catalog 改进:- 移除 to_dict 模拟,改用 model_dump - 添加 update_song_catalog 模拟
@technohippies technohippies merged commit cfb0cb1 into main Nov 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant