Commit bbd68116 authored by Eelco van der Wel's avatar Eelco van der Wel :speech_balloon:
Browse files

Merge branch 'eelco/translation_item' into 'dev'

add Translation schema

See merge request !283
1 merge request!283add Translation schema
Pipeline #12744 passed with stages
in 2 minutes and 41 seconds
Showing with 8 additions and 0 deletions
+8 -0
......@@ -20,6 +20,7 @@ class Item(ItemBase):
# Edges
language: List["Language"] = []
translation: List["Translation"] = []
label: List["CategoricalPrediction"] = []
......@@ -645,3 +646,10 @@ class EmailMessage(Message):
cc: List["Account"] = []
message: List["EmailMessage"] = []
replyTo: List["Account"] = []
class Translation(Item):
value: Optional[str] = None
translatedProperty: Optional[str] = None
srcLang: Optional[str] = None
tgtLang: Optional[str] = None
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment