MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / fix_data

Method fix_data

keepercommander/enterprise.py:333–337  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

331
332 @staticmethod
333 def fix_data(d): # type: (bytes) -> bytes
334 idx = d.rfind(b'}')
335 if idx < len(d) - 1:
336 d = d[:idx+1]
337 return d
338
339 def register_link(self, keeper_entity_id_name, parser): # type: (str, _EnterpriseDataParser) -> None
340 if isinstance(parser, _CascadeDeleteLink):

Callers 3

to_keeper_entityMethod · 0.80
to_keeper_entityMethod · 0.80
to_keeper_entityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected