langchain/libs/community/tests/unit_tests/callbacks
Eugene Yurtsev 98779797fe
community[patch]: Use get_fields adapter for pydantic (#25191)
Change all usages of __fields__ with get_fields adapter merged into
langchain_core.

Code mod generated using the following grit pattern:

```
engine marzano(0.1)
language python


`$X.__fields__` => `get_fields($X)` where {
    add_import(source="langchain_core.utils.pydantic", name="get_fields")
}
```
2024-08-08 14:43:09 -04:00
..
tracers
__init__.py
fake_callback_handler.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
test_callback_manager.py community[patch]: Use get_fields adapter for pydantic (#25191) 2024-08-08 14:43:09 -04:00
test_imports.py community[minor]: Add UpstashRatelimitHandler (#21885) 2024-06-07 21:02:06 +00:00
test_openai_info.py community[patch]: Use get_fields adapter for pydantic (#25191) 2024-08-08 14:43:09 -04:00
test_streamlit_callback.py
test_upstash_ratelimit_callback.py community[minor]: Add UpstashRatelimitHandler (#21885) 2024-06-07 21:02:06 +00:00