diff --git a/keyring/backends/libsecret.py b/keyring/backends/libsecret.py index 39ad9a25..368b0d31 100644 --- a/keyring/backends/libsecret.py +++ b/keyring/backends/libsecret.py @@ -34,6 +34,13 @@ class Keyring(backend.SchemeSelectable, KeyringBackend): @property def schema(self): + """ + Schema is used by the API to define the types of each field. + + >>> available or __import__('pytest').skip() + >>> Keyring().schema.attributes + {'username': 0, 'password': 0, 'application': 0} + """ return Secret.Schema.new( "org.freedesktop.Secret.Generic", Secret.SchemaFlags.NONE,