AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 3.142.42.247


Current Path : /usr/lib/python3/dist-packages/keyring/backends/
Upload File :
Current File : //usr/lib/python3/dist-packages/keyring/backends/null.py

from ..backend import KeyringBackend


class Keyring(KeyringBackend):
    """
    Keyring that return None on every operation.

    >>> kr = Keyring()
    >>> kr.get_password('svc', 'user')
    """

    priority = -1

    def get_password(self, service, username, password=None):
        pass

    set_password = delete_password = get_password  # type: ignore