mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-29 10:23:02 +01:00
d5597442f4
Details - Rename method query_* to query in search_types for standardization - Wrapping Config code in classes simplified mocking test config - Reduce args beings passed to a function by passing it as single argument wrapped in a class - Minimize setup in main.py:__main__. Put most of it into functions These functions can be mocked if required in tests later too Setup Flow: CLI_Args|Config_YAML -> (Text|Image)SearchConfig -> (Text|Image)SearchModel |
||
---|---|---|
.. | ||
__init__.py | ||
cli.py | ||
config.py | ||
exiftool.py | ||
helpers.py | ||
install.py |