Syntax update

This commit is contained in:
davidmezzetti
2025-09-17 07:59:20 -04:00
parent 8ae88a6405
commit a543b028ef
16 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class Cluster:
Aggregates multiple embeddings shards into a single logical embeddings instance.
"""
# pylint: disable = W0231
# pylint: disable=W0231
def __init__(self, config=None):
"""
Creates a new Cluster.
+1 -1
View File
@@ -26,7 +26,7 @@ class Embeddings:
that have the same meaning, not necessarily the same keywords.
"""
# pylint: disable = W0231
# pylint: disable=W0231
def __init__(self, config=None, models=None, **kwargs):
"""
Creates a new embeddings index. Embeddings indexes are thread-safe for read operations but writes must be synchronized.
+1 -1
View File
@@ -13,7 +13,7 @@ from fastapi.testclient import TestClient
from txtai.api import API, application
# pylint: disable = C0411
# pylint: disable=C0411
from utils import Utils
# Configuration for pipelines
+1 -1
View File
@@ -20,7 +20,7 @@ from fastapi.testclient import TestClient
from txtai.api import application
from txtai.api.responses import JSONEncoder
# pylint: disable = C0411
# pylint: disable=C0411
from utils import Utils
# Configuration for image storage
+1 -1
View File
@@ -12,7 +12,7 @@ from fastapi.testclient import TestClient
from txtai.api import application
# pylint: disable = C0411
# pylint: disable=C0411
from utils import Utils
# API Configuration
+1 -1
View File
@@ -11,7 +11,7 @@ from zipfile import ZipFile, ZIP_DEFLATED
from txtai.archive import ArchiveFactory, Compress
# pylint: disable = C0411
# pylint: disable=C0411
from utils import Utils
+1 -1
View File
@@ -15,7 +15,7 @@ from PIL import Image
from txtai.embeddings import Embeddings
# pylint: disable = C0411
# pylint: disable=C0411
from utils import Utils
@@ -10,7 +10,7 @@ import soundfile as sf
from txtai.pipeline import AudioStream
# pylint: disable = C0411
# pylint: disable=C0411
from utils import Utils
@@ -11,7 +11,7 @@ import soundfile as sf
from txtai.pipeline import Microphone
# pylint: disable = C0411
# pylint: disable=C0411
from utils import Utils
@@ -11,7 +11,7 @@ from scipy import signal
from txtai.pipeline import Transcription
# pylint: disable = C0411
# pylint: disable=C0411
from utils import Utils
+1 -1
View File
@@ -6,7 +6,7 @@ import unittest
from txtai.pipeline import Tabular
# pylint: disable = C0411
# pylint: disable=C0411
from utils import Utils
+1 -1
View File
@@ -7,7 +7,7 @@ import unittest
from txtai.pipeline import Textractor
# pylint: disable = C0411
# pylint: disable=C0411
from utils import Utils
@@ -8,7 +8,7 @@ from PIL import Image
from txtai.pipeline import Caption
# pylint: disable = C0411
# pylint: disable=C0411
from utils import Utils
@@ -8,7 +8,7 @@ from PIL import Image
from txtai.pipeline import ImageHash
# pylint: disable = C0411
# pylint: disable=C0411
from utils import Utils
@@ -6,7 +6,7 @@ import unittest
from txtai.pipeline import Objects
# pylint: disable = C0411
# pylint: disable=C0411
from utils import Utils
+1 -1
View File
@@ -30,7 +30,7 @@ from txtai.workflow import (
WorkflowTask,
)
# pylint: disable = C0411
# pylint: disable=C0411
from utils import Utils