From f588cf8637641535b089fe6fca542247f6472fc0 Mon Sep 17 00:00:00 2001 From: Alexander Schlemmer <a.schlemmer@indiscale.com> Date: Tue, 21 May 2024 14:46:17 +0200 Subject: [PATCH] DOC: more docstrings in sync_graph --- src/caoscrawler/sync_graph.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/caoscrawler/sync_graph.py b/src/caoscrawler/sync_graph.py index dd1bc7cf..62b9b207 100644 --- a/src/caoscrawler/sync_graph.py +++ b/src/caoscrawler/sync_graph.py @@ -307,7 +307,10 @@ class SyncGraph(): return None def _get_new_id(self): - """ returns the next unused temporary ID""" + """ returns the next unused temporary ID + + Last review by Alexander Schlemmer on 2024-05-24. + """ self._remote_missing_counter -= 1 return self._remote_missing_counter @@ -346,6 +349,8 @@ class SyncGraph(): """returns a set of nodes that reference the given node as identifying property or are referenced by the given node and the parent of the given node is listed as "is_referenced_by" + + Last review by Alexander Schlemmer on 2024-05-24. """ return (self.backward_id_references[id(node)].union( self.forward_id_referenced_by[id(node)])) -- GitLab