trustgraph-flow 0.17.2__tar.gz → 0.17.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/PKG-INFO +2 -2
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/endpoint.py +8 -3
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/graph_embeddings_load.py +2 -2
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/graph_embeddings_stream.py +2 -2
- trustgraph-flow-0.17.3/trustgraph/api/gateway/publisher.py +39 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/service.py +28 -5
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/socket.py +6 -0
- trustgraph-flow-0.17.3/trustgraph/api/gateway/subscriber.py +66 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/triples_load.py +2 -2
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/triples_stream.py +2 -2
- trustgraph-flow-0.17.3/trustgraph/flow_version.py +1 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph_flow.egg-info/PKG-INFO +2 -2
- trustgraph-flow-0.17.2/trustgraph/api/gateway/publisher.py +0 -41
- trustgraph-flow-0.17.2/trustgraph/api/gateway/subscriber.py +0 -68
- trustgraph-flow-0.17.2/trustgraph/flow_version.py +0 -1
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/README.md +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/agent-manager-react +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/api-gateway +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/chunker-recursive +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/chunker-token +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/de-query-milvus +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/de-query-pinecone +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/de-query-qdrant +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/de-write-milvus +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/de-write-pinecone +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/de-write-qdrant +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/document-rag +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/embeddings-ollama +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/embeddings-vectorize +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/ge-query-milvus +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/ge-query-pinecone +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/ge-query-qdrant +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/ge-write-milvus +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/ge-write-pinecone +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/ge-write-qdrant +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/graph-rag +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/kg-extract-definitions +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/kg-extract-relationships +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/kg-extract-topics +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/metering +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/object-extract-row +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/oe-write-milvus +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/pdf-decoder +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/prompt-generic +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/prompt-template +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/rows-write-cassandra +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/run-processing +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/text-completion-azure +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/text-completion-azure-openai +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/text-completion-claude +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/text-completion-cohere +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/text-completion-googleaistudio +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/text-completion-llamafile +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/text-completion-ollama +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/text-completion-openai +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/triples-query-cassandra +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/triples-query-neo4j +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/triples-write-cassandra +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/triples-write-neo4j +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/scripts/wikipedia-lookup +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/setup.cfg +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/setup.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/agent/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/agent/react/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/agent/react/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/agent/react/agent_manager.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/agent/react/service.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/agent/react/tools.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/agent/react/types.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/agent.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/auth.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/dbpedia.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/embeddings.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/encyclopedia.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/graph_rag.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/internet_search.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/prompt.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/running.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/serialize.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/text_completion.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/triples_query.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/chunking/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/chunking/recursive/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/chunking/recursive/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/chunking/recursive/chunker.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/chunking/token/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/chunking/token/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/chunking/token/chunker.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/decoding/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/decoding/pdf/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/decoding/pdf/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/decoding/pdf/pdf_decoder.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/direct/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/direct/cassandra.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/direct/milvus_doc_embeddings.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/direct/milvus_graph_embeddings.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/direct/milvus_object_embeddings.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/document_rag.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/embeddings/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/embeddings/ollama/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/embeddings/ollama/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/embeddings/ollama/processor.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/embeddings/vectorize/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/embeddings/vectorize/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/embeddings/vectorize/vectorize.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/external/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/external/wikipedia/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/external/wikipedia/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/external/wikipedia/service.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/extract/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/extract/kg/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/extract/kg/definitions/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/extract/kg/definitions/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/extract/kg/definitions/extract.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/extract/kg/relationships/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/extract/kg/relationships/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/extract/kg/relationships/extract.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/extract/kg/topics/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/extract/kg/topics/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/extract/kg/topics/extract.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/extract/object/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/extract/object/row/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/extract/object/row/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/extract/object/row/extract.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/graph_rag.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/metering/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/metering/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/metering/counter.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/metering/pricelist.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/prompt/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/prompt/generic/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/prompt/generic/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/prompt/generic/prompts.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/prompt/generic/service.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/prompt/template/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/prompt/template/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/prompt/template/prompt_manager.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/prompt/template/service.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/azure/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/azure/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/azure/llm.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/azure_openai/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/azure_openai/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/azure_openai/llm.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/claude/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/claude/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/claude/llm.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/cohere/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/cohere/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/cohere/llm.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/googleaistudio/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/googleaistudio/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/googleaistudio/llm.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/llamafile/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/llamafile/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/llamafile/llm.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/ollama/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/ollama/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/ollama/llm.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/openai/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/openai/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/model/text_completion/openai/llm.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/processing/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/processing/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/processing/processing.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/doc_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/doc_embeddings/milvus/service.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/doc_embeddings/pinecone/service.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/doc_embeddings/qdrant/service.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/graph_embeddings/milvus/service.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/graph_embeddings/pinecone/service.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/graph_embeddings/qdrant/service.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/triples/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/triples/cassandra/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/triples/cassandra/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/triples/cassandra/service.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/triples/neo4j/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/triples/neo4j/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/query/triples/neo4j/service.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/retrieval/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/retrieval/document_rag/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/retrieval/document_rag/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/retrieval/document_rag/rag.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/retrieval/graph_rag/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/retrieval/graph_rag/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/retrieval/graph_rag/rag.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/doc_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/doc_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/doc_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/doc_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/doc_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/doc_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/doc_embeddings/pinecone/write.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/doc_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/doc_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/doc_embeddings/qdrant/write.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/graph_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/graph_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/graph_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/graph_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/graph_embeddings/pinecone/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/graph_embeddings/pinecone/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/graph_embeddings/pinecone/write.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/graph_embeddings/qdrant/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/graph_embeddings/qdrant/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/graph_embeddings/qdrant/write.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/object_embeddings/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/object_embeddings/milvus/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/object_embeddings/milvus/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/object_embeddings/milvus/write.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/rows/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/rows/cassandra/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/rows/cassandra/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/rows/cassandra/write.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/triples/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/triples/cassandra/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/triples/cassandra/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/triples/cassandra/write.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/triples/neo4j/__init__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/triples/neo4j/__main__.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/storage/triples/neo4j/write.py +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph_flow.egg-info/SOURCES.txt +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph_flow.egg-info/dependency_links.txt +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph_flow.egg-info/requires.txt +0 -0
- {trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph_flow.egg-info/top_level.txt +0 -0
@@ -1,12 +1,12 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: trustgraph-flow
|
3
|
-
Version: 0.17.
|
3
|
+
Version: 0.17.3
|
4
4
|
Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
|
5
5
|
Home-page: https://github.com/trustgraph-ai/trustgraph
|
6
6
|
Author: trustgraph.ai
|
7
7
|
Author-email: security@trustgraph.ai
|
8
8
|
License: UNKNOWN
|
9
|
-
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.17.
|
9
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.17.3.tar.gz
|
10
10
|
Platform: UNKNOWN
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
12
12
|
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
@@ -41,10 +41,15 @@ class ServiceEndpoint:
|
|
41
41
|
|
42
42
|
self.operation = "service"
|
43
43
|
|
44
|
-
async def start(self):
|
44
|
+
async def start(self, client):
|
45
45
|
|
46
|
-
self.pub_task = asyncio.create_task(self.pub.run())
|
47
|
-
self.sub_task = asyncio.create_task(self.sub.run())
|
46
|
+
self.pub_task = asyncio.create_task(self.pub.run(client))
|
47
|
+
self.sub_task = asyncio.create_task(self.sub.run(client))
|
48
|
+
|
49
|
+
async def join(self):
|
50
|
+
|
51
|
+
await self.pub_task
|
52
|
+
await self.sub_task
|
48
53
|
|
49
54
|
def add_routes(self, app):
|
50
55
|
|
{trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/graph_embeddings_load.py
RENAMED
@@ -29,10 +29,10 @@ class GraphEmbeddingsLoadEndpoint(SocketEndpoint):
|
|
29
29
|
schema=JsonSchema(GraphEmbeddings)
|
30
30
|
)
|
31
31
|
|
32
|
-
async def start(self):
|
32
|
+
async def start(self, client):
|
33
33
|
|
34
34
|
self.task = asyncio.create_task(
|
35
|
-
self.publisher.run()
|
35
|
+
self.publisher.run(client)
|
36
36
|
)
|
37
37
|
|
38
38
|
async def listener(self, ws, running):
|
{trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/api/gateway/graph_embeddings_stream.py
RENAMED
@@ -28,10 +28,10 @@ class GraphEmbeddingsStreamEndpoint(SocketEndpoint):
|
|
28
28
|
schema=JsonSchema(GraphEmbeddings)
|
29
29
|
)
|
30
30
|
|
31
|
-
async def start(self):
|
31
|
+
async def start(self, client):
|
32
32
|
|
33
33
|
self.task = asyncio.create_task(
|
34
|
-
self.subscriber.run()
|
34
|
+
self.subscriber.run(client)
|
35
35
|
)
|
36
36
|
|
37
37
|
async def async_thread(self, ws, running):
|
@@ -0,0 +1,39 @@
|
|
1
|
+
|
2
|
+
import asyncio
|
3
|
+
|
4
|
+
class Publisher:
|
5
|
+
|
6
|
+
def __init__(self, pulsar_host, topic, schema=None, max_size=10,
|
7
|
+
chunking_enabled=False):
|
8
|
+
self.pulsar_host = pulsar_host
|
9
|
+
self.topic = topic
|
10
|
+
self.schema = schema
|
11
|
+
self.q = asyncio.Queue(maxsize=max_size)
|
12
|
+
self.chunking_enabled = chunking_enabled
|
13
|
+
|
14
|
+
async def run(self, client):
|
15
|
+
|
16
|
+
while True:
|
17
|
+
|
18
|
+
try:
|
19
|
+
async with client.create_producer(
|
20
|
+
topic=self.topic,
|
21
|
+
schema=self.schema,
|
22
|
+
chunking_enabled=self.chunking_enabled,
|
23
|
+
) as producer:
|
24
|
+
while True:
|
25
|
+
id, item = await self.q.get()
|
26
|
+
|
27
|
+
if id:
|
28
|
+
await producer.send(item, { "id": id })
|
29
|
+
else:
|
30
|
+
await producer.send(item)
|
31
|
+
|
32
|
+
except Exception as e:
|
33
|
+
print("Exception:", e, flush=True)
|
34
|
+
|
35
|
+
# If handler drops out, sleep a retry
|
36
|
+
await asyncio.sleep(2)
|
37
|
+
|
38
|
+
async def send(self, id, msg):
|
39
|
+
await self.q.put((id, msg))
|
@@ -17,6 +17,7 @@ from aiohttp import web
|
|
17
17
|
import logging
|
18
18
|
import os
|
19
19
|
import base64
|
20
|
+
import aiopulsar
|
20
21
|
|
21
22
|
import pulsar
|
22
23
|
from pulsar.schema import JsonSchema
|
@@ -237,13 +238,35 @@ class Api:
|
|
237
238
|
{ "error": str(e) }
|
238
239
|
)
|
239
240
|
|
240
|
-
async def
|
241
|
+
async def run_endpoints(self):
|
241
242
|
|
242
|
-
|
243
|
-
|
243
|
+
async with aiopulsar.connect(self.pulsar_host) as client:
|
244
|
+
|
245
|
+
for ep in self.endpoints:
|
246
|
+
await ep.start(client)
|
247
|
+
|
248
|
+
self.doc_ingest_pub_task = asyncio.create_task(
|
249
|
+
self.document_out.run(client)
|
250
|
+
)
|
251
|
+
|
252
|
+
self.text_ingest_pub_task = asyncio.create_task(
|
253
|
+
self.text_out.run(client)
|
254
|
+
)
|
255
|
+
|
256
|
+
print("Endpoints are running...")
|
257
|
+
|
258
|
+
# They never exit
|
259
|
+
for ep in self.endpoints:
|
260
|
+
await ep.join()
|
261
|
+
|
262
|
+
await self.doc_ingest_pub_task
|
263
|
+
await self.text_ingest_pub_task
|
264
|
+
|
265
|
+
print("Endpoints are stopped.")
|
266
|
+
|
267
|
+
async def app_factory(self):
|
244
268
|
|
245
|
-
self.
|
246
|
-
self.text_ingest_pub_task = asyncio.create_task(self.text_out.run())
|
269
|
+
self.endpoint_task = asyncio.create_task(self.run_endpoints())
|
247
270
|
|
248
271
|
return self.app
|
249
272
|
|
@@ -0,0 +1,66 @@
|
|
1
|
+
|
2
|
+
import asyncio
|
3
|
+
|
4
|
+
class Subscriber:
|
5
|
+
|
6
|
+
def __init__(self, pulsar_host, topic, subscription, consumer_name,
|
7
|
+
schema=None, max_size=10):
|
8
|
+
self.pulsar_host = pulsar_host
|
9
|
+
self.topic = topic
|
10
|
+
self.subscription = subscription
|
11
|
+
self.consumer_name = consumer_name
|
12
|
+
self.schema = schema
|
13
|
+
self.q = {}
|
14
|
+
self.full = {}
|
15
|
+
|
16
|
+
async def run(self, client):
|
17
|
+
while True:
|
18
|
+
try:
|
19
|
+
async with client.subscribe(
|
20
|
+
topic=self.topic,
|
21
|
+
subscription_name=self.subscription,
|
22
|
+
consumer_name=self.consumer_name,
|
23
|
+
schema=self.schema,
|
24
|
+
) as consumer:
|
25
|
+
while True:
|
26
|
+
msg = await consumer.receive()
|
27
|
+
|
28
|
+
# Acknowledge successful reception of the message
|
29
|
+
await consumer.acknowledge(msg)
|
30
|
+
|
31
|
+
try:
|
32
|
+
id = msg.properties()["id"]
|
33
|
+
except:
|
34
|
+
id = None
|
35
|
+
|
36
|
+
value = msg.value()
|
37
|
+
if id in self.q:
|
38
|
+
await self.q[id].put(value)
|
39
|
+
|
40
|
+
for q in self.full.values():
|
41
|
+
await q.put(value)
|
42
|
+
|
43
|
+
except Exception as e:
|
44
|
+
print("Exception:", e, flush=True)
|
45
|
+
|
46
|
+
# If handler drops out, sleep a retry
|
47
|
+
await asyncio.sleep(2)
|
48
|
+
|
49
|
+
async def subscribe(self, id):
|
50
|
+
q = asyncio.Queue()
|
51
|
+
self.q[id] = q
|
52
|
+
return q
|
53
|
+
|
54
|
+
async def unsubscribe(self, id):
|
55
|
+
if id in self.q:
|
56
|
+
del self.q[id]
|
57
|
+
|
58
|
+
async def subscribe_all(self, id):
|
59
|
+
q = asyncio.Queue()
|
60
|
+
self.full[id] = q
|
61
|
+
return q
|
62
|
+
|
63
|
+
async def unsubscribe_all(self, id):
|
64
|
+
if id in self.full:
|
65
|
+
del self.full[id]
|
66
|
+
|
@@ -27,10 +27,10 @@ class TriplesLoadEndpoint(SocketEndpoint):
|
|
27
27
|
schema=JsonSchema(Triples)
|
28
28
|
)
|
29
29
|
|
30
|
-
async def start(self):
|
30
|
+
async def start(self, client):
|
31
31
|
|
32
32
|
self.task = asyncio.create_task(
|
33
|
-
self.publisher.run()
|
33
|
+
self.publisher.run(client)
|
34
34
|
)
|
35
35
|
|
36
36
|
async def listener(self, ws, running):
|
@@ -26,10 +26,10 @@ class TriplesStreamEndpoint(SocketEndpoint):
|
|
26
26
|
schema=JsonSchema(Triples)
|
27
27
|
)
|
28
28
|
|
29
|
-
async def start(self):
|
29
|
+
async def start(self, client):
|
30
30
|
|
31
31
|
self.task = asyncio.create_task(
|
32
|
-
self.subscriber.run()
|
32
|
+
self.subscriber.run(client)
|
33
33
|
)
|
34
34
|
|
35
35
|
async def async_thread(self, ws, running):
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.17.3"
|
@@ -1,12 +1,12 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: trustgraph-flow
|
3
|
-
Version: 0.17.
|
3
|
+
Version: 0.17.3
|
4
4
|
Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
|
5
5
|
Home-page: https://github.com/trustgraph-ai/trustgraph
|
6
6
|
Author: trustgraph.ai
|
7
7
|
Author-email: security@trustgraph.ai
|
8
8
|
License: UNKNOWN
|
9
|
-
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.17.
|
9
|
+
Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.17.3.tar.gz
|
10
10
|
Platform: UNKNOWN
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
12
12
|
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
@@ -1,41 +0,0 @@
|
|
1
|
-
|
2
|
-
import asyncio
|
3
|
-
import aiopulsar
|
4
|
-
|
5
|
-
class Publisher:
|
6
|
-
|
7
|
-
def __init__(self, pulsar_host, topic, schema=None, max_size=10,
|
8
|
-
chunking_enabled=False):
|
9
|
-
self.pulsar_host = pulsar_host
|
10
|
-
self.topic = topic
|
11
|
-
self.schema = schema
|
12
|
-
self.q = asyncio.Queue(maxsize=max_size)
|
13
|
-
self.chunking_enabled = chunking_enabled
|
14
|
-
|
15
|
-
async def run(self):
|
16
|
-
|
17
|
-
while True:
|
18
|
-
|
19
|
-
try:
|
20
|
-
async with aiopulsar.connect(self.pulsar_host) as client:
|
21
|
-
async with client.create_producer(
|
22
|
-
topic=self.topic,
|
23
|
-
schema=self.schema,
|
24
|
-
chunking_enabled=self.chunking_enabled,
|
25
|
-
) as producer:
|
26
|
-
while True:
|
27
|
-
id, item = await self.q.get()
|
28
|
-
|
29
|
-
if id:
|
30
|
-
await producer.send(item, { "id": id })
|
31
|
-
else:
|
32
|
-
await producer.send(item)
|
33
|
-
|
34
|
-
except Exception as e:
|
35
|
-
print("Exception:", e, flush=True)
|
36
|
-
|
37
|
-
# If handler drops out, sleep a retry
|
38
|
-
await asyncio.sleep(2)
|
39
|
-
|
40
|
-
async def send(self, id, msg):
|
41
|
-
await self.q.put((id, msg))
|
@@ -1,68 +0,0 @@
|
|
1
|
-
|
2
|
-
import asyncio
|
3
|
-
import aiopulsar
|
4
|
-
|
5
|
-
class Subscriber:
|
6
|
-
|
7
|
-
def __init__(self, pulsar_host, topic, subscription, consumer_name,
|
8
|
-
schema=None, max_size=10):
|
9
|
-
self.pulsar_host = pulsar_host
|
10
|
-
self.topic = topic
|
11
|
-
self.subscription = subscription
|
12
|
-
self.consumer_name = consumer_name
|
13
|
-
self.schema = schema
|
14
|
-
self.q = {}
|
15
|
-
self.full = {}
|
16
|
-
|
17
|
-
async def run(self):
|
18
|
-
while True:
|
19
|
-
try:
|
20
|
-
async with aiopulsar.connect(self.pulsar_host) as client:
|
21
|
-
async with client.subscribe(
|
22
|
-
topic=self.topic,
|
23
|
-
subscription_name=self.subscription,
|
24
|
-
consumer_name=self.consumer_name,
|
25
|
-
schema=self.schema,
|
26
|
-
) as consumer:
|
27
|
-
while True:
|
28
|
-
msg = await consumer.receive()
|
29
|
-
|
30
|
-
# Acknowledge successful reception of the message
|
31
|
-
await consumer.acknowledge(msg)
|
32
|
-
|
33
|
-
try:
|
34
|
-
id = msg.properties()["id"]
|
35
|
-
except:
|
36
|
-
id = None
|
37
|
-
|
38
|
-
value = msg.value()
|
39
|
-
if id in self.q:
|
40
|
-
await self.q[id].put(value)
|
41
|
-
|
42
|
-
for q in self.full.values():
|
43
|
-
await q.put(value)
|
44
|
-
|
45
|
-
except Exception as e:
|
46
|
-
print("Exception:", e, flush=True)
|
47
|
-
|
48
|
-
# If handler drops out, sleep a retry
|
49
|
-
await asyncio.sleep(2)
|
50
|
-
|
51
|
-
async def subscribe(self, id):
|
52
|
-
q = asyncio.Queue()
|
53
|
-
self.q[id] = q
|
54
|
-
return q
|
55
|
-
|
56
|
-
async def unsubscribe(self, id):
|
57
|
-
if id in self.q:
|
58
|
-
del self.q[id]
|
59
|
-
|
60
|
-
async def subscribe_all(self, id):
|
61
|
-
q = asyncio.Queue()
|
62
|
-
self.full[id] = q
|
63
|
-
return q
|
64
|
-
|
65
|
-
async def unsubscribe_all(self, id):
|
66
|
-
if id in self.full:
|
67
|
-
del self.full[id]
|
68
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.17.2"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/direct/milvus_doc_embeddings.py
RENAMED
File without changes
|
{trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/direct/milvus_graph_embeddings.py
RENAMED
File without changes
|
{trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/direct/milvus_object_embeddings.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/embeddings/vectorize/__init__.py
RENAMED
File without changes
|
{trustgraph-flow-0.17.2 → trustgraph-flow-0.17.3}/trustgraph/embeddings/vectorize/__main__.py
RENAMED
File without changes
|