mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +02:00
* Plugin architecture for messaging fabric * Schemas use a technology neutral expression * Schemas strictness has uncovered some incorrect schema use which is fixed
21 lines
476 B
Python
21 lines
476 B
Python
from dataclasses import dataclass
|
|
|
|
from ..core.primitives import Error, Value, Triple
|
|
from ..core.topic import topic
|
|
from ..core.metadata import Metadata
|
|
|
|
############################################################################
|
|
|
|
# Lookups
|
|
|
|
@dataclass
|
|
class LookupRequest:
|
|
kind: str = ""
|
|
term: str = ""
|
|
|
|
@dataclass
|
|
class LookupResponse:
|
|
text: str = ""
|
|
error: Error | None = None
|
|
|
|
############################################################################
|