langchain/libs/community/scripts
Eugene Yurtsev b55f6105c6
community[patch]: Add linter to prevent further usage of root_validator and validator (#24613)
This linter is meant to move development to use __init__ instead of
root_validator and validator.

We need to investigate whether we need to lint some of the functionality
of Field (e.g., `lt` and `gt`, `alias`)

`alias` is the one that's most popular:

(community) ➜ community git:(eugene/add_linter_to_community) ✗ git grep
" Field(" | grep "alias=" | wc -l
144

(community) ➜ community git:(eugene/add_linter_to_community) ✗ git grep
" Field(" | grep "ge=" | wc -l
10

(community) ➜ community git:(eugene/add_linter_to_community) ✗ git grep
" Field(" | grep "gt=" | wc -l
4
2024-07-24 12:35:21 -04:00
..
check_imports.py
check_pickle.sh ci: Add script to check for pickle usage in community (#22863) 2024-06-13 16:13:15 -04:00
check_pydantic.sh community[patch]: Add linter to prevent further usage of root_validator and validator (#24613) 2024-07-24 12:35:21 -04:00
lint_imports.sh community[minor]: [GoogleApiYoutubeLoader] Replace API used in _get_document_for_channel from search to playlistItem (#24034) 2024-07-19 14:04:34 -04:00