mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-18 11:55:12 +02:00
21 lines
471 B
Python
21 lines
471 B
Python
|
|
from pulsar.schema import Record, String
|
|
|
|
from ..core.primitives import Error, Value, Triple
|
|
from ..core.topic import topic
|
|
from ..core.metadata import Metadata
|
|
|
|
############################################################################
|
|
|
|
# Lookups
|
|
|
|
class LookupRequest(Record):
|
|
kind = String()
|
|
term = String()
|
|
|
|
class LookupResponse(Record):
|
|
text = String()
|
|
error = Error()
|
|
|
|
############################################################################
|
|
|