langchain/libs/community/langchain_community/callbacks/tracers
Leonid Ganeline 791d59a2c8
community: callbacks guard_imports (#21173)
Issue: we have several helper functions to import third-party libraries
like import_uptrain in
[community.callbacks](https://api.python.langchain.com/en/latest/callbacks/langchain_community.callbacks.uptrain_callback.import_uptrain.html#langchain_community.callbacks.uptrain_callback.import_uptrain).
And we have core.utils.utils.guard_import that works exactly for this
purpose.
The import_<package> functions work inconsistently and rather be private
functions.
Change: replaced these functions with the guard_import function.

Related to #21133
2024-05-07 15:04:54 -07:00
..
__init__.py core[patch], langchain[patch], community[patch]: Revert #15326 (#15546) 2024-01-04 10:39:37 -05:00
comet.py community: callbacks guard_imports (#21173) 2024-05-07 15:04:54 -07:00
wandb.py community[patch]: callbacks mypy fixes (#17058) 2024-02-05 12:37:27 -08:00