@@ -118,7 +118,7 @@ def _on_folder(f):
118118
119119 valid_uids .append (rec_uid )
120120
121- # v6 PAM Configuration records ARE their own graph root — no rotation-cache entry exists for them.
121+ # v6 PAM Configuration records ARE their own graph root - no rotation-cache entry exists for them.
122122 if version == 6 :
123123 config_to_records .setdefault (rec_uid , []).append (rec_uid )
124124 record_config_map [rec_uid ] = rec_uid
@@ -187,7 +187,7 @@ def _on_folder(f):
187187 'revision' : revision ,
188188 }
189189
190- # data — same structure as `get --format=json`
190+ # data - same structure as `get --format=json`
191191 data = {}
192192 try :
193193 r = api .get_record (params , rec_uid )
@@ -199,12 +199,12 @@ def _on_folder(f):
199199 except Exception as err :
200200 logging .warning ('Could not build data for record %s: %s' , rec_uid , err )
201201
202- # graph_sync — dict keyed by config_uid, then by graph name.
202+ # graph_sync - dict keyed by config_uid, then by graph name.
203203 # A record may be referenced by more than one PAM Configuration; we query
204204 # every already-loaded DAG so cross-config references are captured.
205205 # Inner value may contain:
206- # "vertex_active": bool — present when the record UID is a vertex in that graph
207- # "edges": [...] — present only when there are active, non-deleted edges
206+ # "vertex_active": bool - present when the record UID is a vertex in that graph
207+ # "edges": [...] - present only when there are active, non-deleted edges
208208 # Config/graph keys are omitted when the record has no presence there.
209209 graph_sync : Dict [str , Dict [str , dict ]] = {}
210210 for (c_uid , graph_id ), dag in dag_cache .items ():
@@ -234,8 +234,8 @@ def _collect_graph_entry(dag: 'DAGType', record_uid: str, params: 'KeeperParams'
234234 """Build the per-graph entry for record_uid.
235235
236236 Returns a dict with zero or more of:
237- "vertex_active": bool — record_uid exists as a vertex in this graph
238- "edges": [...] — active, non-deleted edges referencing record_uid
237+ "vertex_active": bool - record_uid exists as a vertex in this graph
238+ "edges": [...] - active, non-deleted edges referencing record_uid
239239
240240 Returns an empty dict when the record has no presence in the graph at all,
241241 signalling the caller to omit this graph from the output.
@@ -258,7 +258,7 @@ def _collect_edges_for_record(dag: 'DAGType', record_uid: str, params: 'KeeperPa
258258 config_uid : str ) -> List [dict ]:
259259 """Return all non-deleted edges that reference record_uid as head or tail.
260260
261- Inactive edges (active=False) are included — they may represent settings
261+ Inactive edges (active=False) are included - they may represent settings
262262 that exist in the graph but have been superseded or are pending deletion.
263263 The 'active' field in each output dict lets the caller distinguish them.
264264 DELETION and UNDENIAL edges are still excluded (bookkeeping, not data).
@@ -325,7 +325,7 @@ def _extract_edge_contents(edge, tail_uid: str, params: 'KeeperParams', config_u
325325 fast content_as_dict path has already failed, to avoid unnecessary
326326 network round trips.
327327
328- config_uid is the PAM configuration that owns the DAG being traversed —
328+ config_uid is the PAM configuration that owns the DAG being traversed -
329329 passed from the caller so records not in the rotation cache are still
330330 handled correctly.
331331 """
@@ -357,7 +357,7 @@ def _extract_edge_contents(edge, tail_uid: str, params: 'KeeperParams', config_u
357357 except Exception :
358358 pass
359359
360- # All decode/decrypt attempts failed but content exists — return the first
360+ # All decode/decrypt attempts failed but content exists - return the first
361361 # 40 bytes as hex so the caller can tell there IS data vs truly absent.
362362 raw = edge .content
363363 if isinstance (raw , (bytes , str )):
0 commit comments