diff --git a/python/python/raphtory/__init__.pyi b/python/python/raphtory/__init__.pyi index 903ada5c5..0f53ef53e 100644 --- a/python/python/raphtory/__init__.pyi +++ b/python/python/raphtory/__init__.pyi @@ -2461,9 +2461,6 @@ class MutableNode(Node): Parameters: t (TimeInput): The timestamp at which the updates should be applied. properties (PropInput): A dictionary of properties to update. Each key is a string representing the property name, and each value is of type Prop representing the property value. If None, no properties are updated. - - Returns: - Result: A result object indicating success or failure. On failure, it contains a GraphError. """ def set_node_type(self, new_type: str): @@ -2721,12 +2718,12 @@ class Node(object): List[int]: A list of unix timestamps of the event history of node. """ - def history_date_time(self): + def history_date_time(self) -> List[datetime]: """ Returns the history of a node, including node additions and changes made to node. Returns: - List[Datetime]: A list of timestamps of the event history of node. + List[datetime]: A list of timestamps of the event history of node. """ diff --git a/raphtory/src/python/graph/node.rs b/raphtory/src/python/graph/node.rs index 2758bf1b2..9bd320199 100644 --- a/raphtory/src/python/graph/node.rs +++ b/raphtory/src/python/graph/node.rs @@ -239,7 +239,7 @@ impl PyNode { /// Returns the history of a node, including node additions and changes made to node. /// /// Returns: - /// List[Datetime]: A list of timestamps of the event history of node. + /// List[datetime]: A list of timestamps of the event history of node. /// pub fn history_date_time(&self) -> Option>> { self.node.history_date_time() @@ -373,9 +373,6 @@ impl PyMutableNode { /// Parameters: /// t (TimeInput): The timestamp at which the updates should be applied. /// properties (PropInput): A dictionary of properties to update. Each key is a string representing the property name, and each value is of type Prop representing the property value. If None, no properties are updated. - /// - /// Returns: - /// Result: A result object indicating success or failure. On failure, it contains a GraphError. #[pyo3(signature = (t, properties=None))] pub fn add_updates( &self,