Fix docstring breakage in type hint change (#817)

This commit is contained in:
cybermaggedon 2026-04-16 10:10:58 +01:00 committed by GitHub
parent 706e62b7c2
commit 95e4839da7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 44 additions and 44 deletions

View file

@ -1,11 +1,11 @@
from __future__ import annotations
from argparse import ArgumentParser
"""
Agent manager service completion base class
"""
from __future__ import annotations
from argparse import ArgumentParser
import time
import logging
from prometheus_client import Histogram

View file

@ -1,12 +1,12 @@
from __future__ import annotations
from argparse import ArgumentParser
"""
Document embeddings query service. Input is vectors. Output is list of
embeddings.
"""
from __future__ import annotations
from argparse import ArgumentParser
import logging
from .. schema import DocumentEmbeddingsRequest, DocumentEmbeddingsResponse

View file

@ -1,11 +1,11 @@
from __future__ import annotations
from argparse import ArgumentParser
"""
Document embeddings store base class
"""
from __future__ import annotations
from argparse import ArgumentParser
import logging
from .. schema import DocumentEmbeddings

View file

@ -1,7 +1,3 @@
from __future__ import annotations
from argparse import ArgumentParser
"""
Base class for dynamically pluggable tool services.
@ -14,6 +10,10 @@ Uses direct Pulsar topics (no flow configuration required):
- Response: non-persistent://tg/response/{topic}
"""
from __future__ import annotations
from argparse import ArgumentParser
import json
import logging
import asyncio

View file

@ -1,11 +1,11 @@
from __future__ import annotations
from argparse import ArgumentParser
"""
Embeddings resolution base class
"""
from __future__ import annotations
from argparse import ArgumentParser
import time
import logging
from prometheus_client import Histogram

View file

@ -1,12 +1,12 @@
from __future__ import annotations
from argparse import ArgumentParser
"""
Graph embeddings query service. Input is vectors. Output is list of
embeddings.
"""
from __future__ import annotations
from argparse import ArgumentParser
import logging
from .. schema import GraphEmbeddingsRequest, GraphEmbeddingsResponse

View file

@ -1,11 +1,11 @@
from __future__ import annotations
from argparse import ArgumentParser
"""
Graph embeddings store base class
"""
from __future__ import annotations
from argparse import ArgumentParser
import logging
from .. schema import GraphEmbeddings

View file

@ -1,11 +1,11 @@
from __future__ import annotations
from argparse import ArgumentParser
"""
LLM text completion base class
"""
from __future__ import annotations
from argparse import ArgumentParser
import time
import logging
from prometheus_client import Histogram, Info

View file

@ -1,11 +1,11 @@
from __future__ import annotations
from argparse import ArgumentParser
"""
Tool invocation base class
"""
from __future__ import annotations
from argparse import ArgumentParser
import json
import logging
from prometheus_client import Counter

View file

@ -1,12 +1,12 @@
from __future__ import annotations
from argparse import ArgumentParser
"""
Triples query service. Input is a (s, p, o) triple, some values may be
null. Output is a list of triples.
"""
from __future__ import annotations
from argparse import ArgumentParser
import logging
from .. schema import TriplesQueryRequest, TriplesQueryResponse, Error

View file

@ -1,11 +1,11 @@
from __future__ import annotations
from argparse import ArgumentParser
"""
Triples store base class
"""
from __future__ import annotations
from argparse import ArgumentParser
import logging
from .. schema import Triples