Files
qdrant-client/tools/populate_inspection_cache.sh
George 42154eeb37 optimize schema parser recursion calls, update models (#924)
* fix: optimize schema parser recursive calls

* fix: fix mypy

* new: update models, regenerate cache (#925)

* new: update models, regenerate cache

* new: update conversions

* fix: fix strict mode config in migrate

* new: update field condition conversion with is_null, is_empty

* fix: apply ruff
2025-04-22 15:34:58 +03:00

16 lines
436 B
Bash
Executable File

#!/bin/bash
set -xe
RELATIVE_PROJECT_ROOT="$(dirname "$0")/.."
cd $RELATIVE_PROJECT_ROOT
ABSOLUTE_PROJECT_ROOT=$(pwd)
rm -f $ABSOLUTE_PROJECT_ROOT/qdrant_client/embed/_inspection_cache.py
python3 -m tools.populate_inspection_cache
cd $ABSOLUTE_PROJECT_ROOT/qdrant_client/embed
autoflake --recursive --imports qdrant_client --remove-unused-variables --in-place _inspection_cache.py
ruff format --line-length 99 _inspection_cache.py