@@ -256,13 +256,13 @@ def add_fact_triple(
256256 * ,
257257 fact : str ,
258258 fact_name : str ,
259+ source_node_name : str ,
259260 target_node_name : str ,
260261 created_at : typing .Optional [str ] = OMIT ,
261262 expired_at : typing .Optional [str ] = OMIT ,
262263 fact_uuid : typing .Optional [str ] = OMIT ,
263264 graph_id : typing .Optional [str ] = OMIT ,
264265 invalid_at : typing .Optional [str ] = OMIT ,
265- source_node_name : typing .Optional [str ] = OMIT ,
266266 source_node_summary : typing .Optional [str ] = OMIT ,
267267 source_node_uuid : typing .Optional [str ] = OMIT ,
268268 target_node_summary : typing .Optional [str ] = OMIT ,
@@ -282,6 +282,9 @@ def add_fact_triple(
282282 fact_name : str
283283 The name of the edge to add. Should be all caps using snake case (eg RELATES_TO)
284284
285+ source_node_name : str
286+ The name of the source node to add
287+
285288 target_node_name : str
286289 The name of the target node to add
287290
@@ -299,9 +302,6 @@ def add_fact_triple(
299302 invalid_at : typing.Optional[str]
300303 The time (if any) at which the fact stops being true
301304
302- source_node_name : typing.Optional[str]
303- The name of the source node to add
304-
305305 source_node_summary : typing.Optional[str]
306306 The summary of the source node to add
307307
@@ -337,19 +337,20 @@ def add_fact_triple(
337337 client.graph.add_fact_triple(
338338 fact="fact",
339339 fact_name="fact_name",
340+ source_node_name="source_node_name",
340341 target_node_name="target_node_name",
341342 )
342343 """
343344 _response = self ._raw_client .add_fact_triple (
344345 fact = fact ,
345346 fact_name = fact_name ,
347+ source_node_name = source_node_name ,
346348 target_node_name = target_node_name ,
347349 created_at = created_at ,
348350 expired_at = expired_at ,
349351 fact_uuid = fact_uuid ,
350352 graph_id = graph_id ,
351353 invalid_at = invalid_at ,
352- source_node_name = source_node_name ,
353354 source_node_summary = source_node_summary ,
354355 source_node_uuid = source_node_uuid ,
355356 target_node_summary = target_node_summary ,
@@ -972,13 +973,13 @@ async def add_fact_triple(
972973 * ,
973974 fact : str ,
974975 fact_name : str ,
976+ source_node_name : str ,
975977 target_node_name : str ,
976978 created_at : typing .Optional [str ] = OMIT ,
977979 expired_at : typing .Optional [str ] = OMIT ,
978980 fact_uuid : typing .Optional [str ] = OMIT ,
979981 graph_id : typing .Optional [str ] = OMIT ,
980982 invalid_at : typing .Optional [str ] = OMIT ,
981- source_node_name : typing .Optional [str ] = OMIT ,
982983 source_node_summary : typing .Optional [str ] = OMIT ,
983984 source_node_uuid : typing .Optional [str ] = OMIT ,
984985 target_node_summary : typing .Optional [str ] = OMIT ,
@@ -998,6 +999,9 @@ async def add_fact_triple(
998999 fact_name : str
9991000 The name of the edge to add. Should be all caps using snake case (eg RELATES_TO)
10001001
1002+ source_node_name : str
1003+ The name of the source node to add
1004+
10011005 target_node_name : str
10021006 The name of the target node to add
10031007
@@ -1015,9 +1019,6 @@ async def add_fact_triple(
10151019 invalid_at : typing.Optional[str]
10161020 The time (if any) at which the fact stops being true
10171021
1018- source_node_name : typing.Optional[str]
1019- The name of the source node to add
1020-
10211022 source_node_summary : typing.Optional[str]
10221023 The summary of the source node to add
10231024
@@ -1058,6 +1059,7 @@ async def main() -> None:
10581059 await client.graph.add_fact_triple(
10591060 fact="fact",
10601061 fact_name="fact_name",
1062+ source_node_name="source_node_name",
10611063 target_node_name="target_node_name",
10621064 )
10631065
@@ -1067,13 +1069,13 @@ async def main() -> None:
10671069 _response = await self ._raw_client .add_fact_triple (
10681070 fact = fact ,
10691071 fact_name = fact_name ,
1072+ source_node_name = source_node_name ,
10701073 target_node_name = target_node_name ,
10711074 created_at = created_at ,
10721075 expired_at = expired_at ,
10731076 fact_uuid = fact_uuid ,
10741077 graph_id = graph_id ,
10751078 invalid_at = invalid_at ,
1076- source_node_name = source_node_name ,
10771079 source_node_summary = source_node_summary ,
10781080 source_node_uuid = source_node_uuid ,
10791081 target_node_summary = target_node_summary ,
0 commit comments