From 87ae2cbece9d52f3b62409ab654d9c527edd496e Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Tue, 20 Aug 2019 13:56:10 -0400 Subject: [PATCH] docstring --- src/_zkapauthorizer/_plugin.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/_zkapauthorizer/_plugin.py b/src/_zkapauthorizer/_plugin.py index 8886a60..8b16a77 100644 --- a/src/_zkapauthorizer/_plugin.py +++ b/src/_zkapauthorizer/_plugin.py @@ -111,6 +111,12 @@ class ZKAPAuthorizer(object): def get_storage_client(self, node_config, announcement, get_rref): + """ + Create an ``IStorageClient`` that submits ZKAPs with certain requests in + order to authorize them. The ZKAPs are extracted from the database + managed by this plugin in the node directory that goes along with + ``node_config``. + """ return ZKAPAuthorizerStorageClient( get_rref, # TODO: Make the caller figure out the correct number of -- GitLab