Fix invalid imports
All checks were successful
release / docker (push) Successful in 37s

This commit is contained in:
estromenko 2025-11-02 19:51:55 +03:00
parent 3a46e78349
commit ec96fc3862
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,5 @@
import os
import io
import asyncio
import traceback
from telegram import Update
from telegram.ext import filters, ApplicationBuilder, MessageHandler, CommandHandler, ContextTypes

View File

@ -1,6 +1,6 @@
from django.core.management import BaseCommand
import clickhouse_connect
from vacancies.main.vector_store import add_vectors, extract_features, client as qdrant
from vacancies.main.vector_store import add_vectors, extract_features, qdrant_client
from vacancies.conf.settings import CLICKHOUSE_HOST, CLICKHOUSE_PORT
clickhouse_client = clickhouse_connect.create_client(host=CLICKHOUSE_HOST, port=CLICKHOUSE_PORT)
@ -29,7 +29,7 @@ class Command(BaseCommand):
next_page_offset = 0
exist_points_ids = [-1]
while next_page_offset is not None:
response = qdrant.scroll(
response = qdrant_client.scroll(
collection_name="vacancies",
limit=100_000,
offset=next_page_offset,