mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 08:26:21 +02:00
16 lines
271 B
Python
16 lines
271 B
Python
|
|
from pulsar.schema import Record, String, Array
|
|
from .primitives import Triple
|
|
|
|
class Metadata(Record):
|
|
|
|
# Source identifier
|
|
id = String()
|
|
|
|
# Subgraph
|
|
metadata = Array(Triple())
|
|
|
|
# Collection management
|
|
user = String()
|
|
collection = String()
|
|
|