mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 08:26:21 +02:00
* Plugin architecture for messaging fabric * Schemas use a technology neutral expression * Schemas strictness has uncovered some incorrect schema use which is fixed
14 lines
287 B
Python
14 lines
287 B
Python
from dataclasses import dataclass, field
|
|
from .primitives import Triple
|
|
|
|
@dataclass
|
|
class Metadata:
|
|
# Source identifier
|
|
id: str = ""
|
|
|
|
# Subgraph
|
|
metadata: list[Triple] = field(default_factory=list)
|
|
|
|
# Collection management
|
|
user: str = ""
|
|
collection: str = ""
|