diff --git a/docs/reference/libsecret/libsecret-using.md b/docs/reference/libsecret/libsecret-using.md index 1f51ce9..e2d4e93 100644 --- a/docs/reference/libsecret/libsecret-using.md +++ b/docs/reference/libsecret/libsecret-using.md @@ -53,11 +53,13 @@ var schema = new Secret.Schema.new("org.mock.Schema", In python use the standard introspection import mechanism to get at libsecret: ```python +import gi +gi.require_version("Secret", "1") from gi.repository import Secret # ... and a here's sample line of code which uses the import schema = Secret.Schema.new("org.mock.Schema", - Secret.SchemaFlags.NONE, { "name", Secret.SchemaAttributeType.STRING }) + Secret.SchemaFlags.NONE, { "name": Secret.SchemaAttributeType.STRING }) ``` ## Vala: Compiling with libsecret