(record)
| 11 | from .vault import KeeperRecord, TypedRecord |
| 12 | |
| 13 | def has_passkey(record): # type: (KeeperRecord) -> bool |
| 14 | if not isinstance(record, TypedRecord) or not record.get_typed_field('passkey'): |
| 15 | return False |
| 16 | return bool(record.get_typed_field('passkey').value) |
| 17 | |
| 18 | def _get_pass(record): # type: (KeeperRecord) -> Union[str, None] |
| 19 | from .breachwatch import BreachWatch |
no test coverage detected