@@ -259,12 +259,15 @@ def add_fact_triple(
259259 source_node_name : str ,
260260 target_node_name : str ,
261261 created_at : typing .Optional [str ] = OMIT ,
262+ edge_attributes : typing .Optional [typing .Dict [str , typing .Optional [typing .Any ]]] = OMIT ,
262263 expired_at : typing .Optional [str ] = OMIT ,
263264 fact_uuid : typing .Optional [str ] = OMIT ,
264265 graph_id : typing .Optional [str ] = OMIT ,
265266 invalid_at : typing .Optional [str ] = OMIT ,
267+ source_node_attributes : typing .Optional [typing .Dict [str , typing .Optional [typing .Any ]]] = OMIT ,
266268 source_node_summary : typing .Optional [str ] = OMIT ,
267269 source_node_uuid : typing .Optional [str ] = OMIT ,
270+ target_node_attributes : typing .Optional [typing .Dict [str , typing .Optional [typing .Any ]]] = OMIT ,
268271 target_node_summary : typing .Optional [str ] = OMIT ,
269272 target_node_uuid : typing .Optional [str ] = OMIT ,
270273 user_id : typing .Optional [str ] = OMIT ,
@@ -291,6 +294,10 @@ def add_fact_triple(
291294 created_at : typing.Optional[str]
292295 The timestamp of the message
293296
297+ edge_attributes : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
298+ Additional attributes of the edge. Values must be scalar types (string, number, boolean, or null).
299+ Nested objects and arrays are not allowed.
300+
294301 expired_at : typing.Optional[str]
295302 The time (if any) at which the edge expires
296303
@@ -302,12 +309,20 @@ def add_fact_triple(
302309 invalid_at : typing.Optional[str]
303310 The time (if any) at which the fact stops being true
304311
312+ source_node_attributes : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
313+ Additional attributes of the source node. Values must be scalar types (string, number, boolean, or null).
314+ Nested objects and arrays are not allowed.
315+
305316 source_node_summary : typing.Optional[str]
306317 The summary of the source node to add
307318
308319 source_node_uuid : typing.Optional[str]
309320 The source node uuid
310321
322+ target_node_attributes : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
323+ Additional attributes of the target node. Values must be scalar types (string, number, boolean, or null).
324+ Nested objects and arrays are not allowed.
325+
311326 target_node_summary : typing.Optional[str]
312327 The summary of the target node to add
313328
@@ -347,12 +362,15 @@ def add_fact_triple(
347362 source_node_name = source_node_name ,
348363 target_node_name = target_node_name ,
349364 created_at = created_at ,
365+ edge_attributes = edge_attributes ,
350366 expired_at = expired_at ,
351367 fact_uuid = fact_uuid ,
352368 graph_id = graph_id ,
353369 invalid_at = invalid_at ,
370+ source_node_attributes = source_node_attributes ,
354371 source_node_summary = source_node_summary ,
355372 source_node_uuid = source_node_uuid ,
373+ target_node_attributes = target_node_attributes ,
356374 target_node_summary = target_node_summary ,
357375 target_node_uuid = target_node_uuid ,
358376 user_id = user_id ,
@@ -976,12 +994,15 @@ async def add_fact_triple(
976994 source_node_name : str ,
977995 target_node_name : str ,
978996 created_at : typing .Optional [str ] = OMIT ,
997+ edge_attributes : typing .Optional [typing .Dict [str , typing .Optional [typing .Any ]]] = OMIT ,
979998 expired_at : typing .Optional [str ] = OMIT ,
980999 fact_uuid : typing .Optional [str ] = OMIT ,
9811000 graph_id : typing .Optional [str ] = OMIT ,
9821001 invalid_at : typing .Optional [str ] = OMIT ,
1002+ source_node_attributes : typing .Optional [typing .Dict [str , typing .Optional [typing .Any ]]] = OMIT ,
9831003 source_node_summary : typing .Optional [str ] = OMIT ,
9841004 source_node_uuid : typing .Optional [str ] = OMIT ,
1005+ target_node_attributes : typing .Optional [typing .Dict [str , typing .Optional [typing .Any ]]] = OMIT ,
9851006 target_node_summary : typing .Optional [str ] = OMIT ,
9861007 target_node_uuid : typing .Optional [str ] = OMIT ,
9871008 user_id : typing .Optional [str ] = OMIT ,
@@ -1008,6 +1029,10 @@ async def add_fact_triple(
10081029 created_at : typing.Optional[str]
10091030 The timestamp of the message
10101031
1032+ edge_attributes : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
1033+ Additional attributes of the edge. Values must be scalar types (string, number, boolean, or null).
1034+ Nested objects and arrays are not allowed.
1035+
10111036 expired_at : typing.Optional[str]
10121037 The time (if any) at which the edge expires
10131038
@@ -1019,12 +1044,20 @@ async def add_fact_triple(
10191044 invalid_at : typing.Optional[str]
10201045 The time (if any) at which the fact stops being true
10211046
1047+ source_node_attributes : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
1048+ Additional attributes of the source node. Values must be scalar types (string, number, boolean, or null).
1049+ Nested objects and arrays are not allowed.
1050+
10221051 source_node_summary : typing.Optional[str]
10231052 The summary of the source node to add
10241053
10251054 source_node_uuid : typing.Optional[str]
10261055 The source node uuid
10271056
1057+ target_node_attributes : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
1058+ Additional attributes of the target node. Values must be scalar types (string, number, boolean, or null).
1059+ Nested objects and arrays are not allowed.
1060+
10281061 target_node_summary : typing.Optional[str]
10291062 The summary of the target node to add
10301063
@@ -1072,12 +1105,15 @@ async def main() -> None:
10721105 source_node_name = source_node_name ,
10731106 target_node_name = target_node_name ,
10741107 created_at = created_at ,
1108+ edge_attributes = edge_attributes ,
10751109 expired_at = expired_at ,
10761110 fact_uuid = fact_uuid ,
10771111 graph_id = graph_id ,
10781112 invalid_at = invalid_at ,
1113+ source_node_attributes = source_node_attributes ,
10791114 source_node_summary = source_node_summary ,
10801115 source_node_uuid = source_node_uuid ,
1116+ target_node_attributes = target_node_attributes ,
10811117 target_node_summary = target_node_summary ,
10821118 target_node_uuid = target_node_uuid ,
10831119 user_id = user_id ,
0 commit comments