message: added documentation for pool
diff: @@ -7,6 +7,17 @@ import logging
  async def create_pool_ledger_config(config_name: str,
  config: Optional[str]) -> None:
  + """
  + Creates a new local pool ledger configuration that can be used later to connect pool nodes.
  + :param config_name: Name of the pool ledger configuration.
  + :param config: (optional) Pool configuration json. if NULL, then default config will be used. Example:
  + {
  + "genesis_txn": string (optional), A path to genesis transaction file. If NULL, then a default one will be used.
  + If file doesn't exists default one will be created.
  + }
  + :return: Error code
  + """
  +
  logger = logging.getLogger(__name__)
  logger.debug("create_pool_ledger_config: >>> config_name: %s, config: %s",
  config_name,
  @@ -30,6 +41,26 @@ async def create_pool_ledger_config(config_name: str,
  async def open_pool_ledger(config_name: str,
  config: Optional[str]) -> int:
  + """
  + Opens pool ledger and performs connecting to pool nodes.
  +
  + Pool ledger configuration with corresponded name must be previously created
  + with indy_create_pool_ledger_config method.
  + It is impossible to open pool with the same name more than once.
  + :param config_name: Name of the pool ledger configuration.
  + :param config: (optional) Runtime pool configuration json.
  + if NULL, then default config will be used. Example:
  + {
  + "refreshOnOpen": bool (optional), Forces pool ledger to be refreshed immediately after opening.
  + Defaults to true.
  + "autoRefreshTime": int (optional), After this time in minutes pool ledger will be automatically refreshed.
  + Use 0 to disable automatic refresh. Defaults to 24*60.
  + "networkTimeout": int (optional), Network timeout for communication with nodes in milliseconds.
  + Defaults to 20000.
  + }
  + :return: Handle to opened pool to use in methods that require pool connection.
  + """
  +
  logger = logging.getLogger(__name__)
  logger.debug("open_pool_ledger: >>> config_name: %s, config: %s",
  config_name,
  @@ -52,6 +83,12 @@ async def open_pool_ledger(config_name: str,
  async def refresh_pool_ledger(handle: int) -> None:
  + """
  + Refreshes a local copy of a pool ledger and updates pool nodes connections.
  + :param handle: pool handle returned by indy_open_pool_ledger
  + :return: Error code
  + """
  +
  logger = logging.getLogger(__name__)
  logger.debug("refresh_pool_ledger: >>> config_name: %s",
  handle)
  @@ -71,6 +108,12 @@ async def refresh_pool_ledger(handle: int) -> None:
  async def close_pool_ledger(handle: int) -> None:
  + """
  + Closes opened pool ledger, opened nodes connections and frees allocated resources.
  + :param handle: pool handle returned by indy_open_pool_ledger.
  + :return: Error code
  + """
  +
  logger = logging.getLogger(__name__)
  logger.debug("close_pool_ledger: >>> config_name: %s",
  handle)
  @@ -90,6 +133,12 @@ async def close_pool_ledger(handle: int) -> None:
  async def delete_pool_ledger_config(config_name: str) -> None:
  + """
  + Deletes created pool ledger configuration.
  + :param config_name: Name of the pool ledger configuration to delete.
  + :return: Error code
  + """
  +
  logger = logging.getLogger(__name__)
  logger.debug("delete_pool_ledger_config: >>> config_name: %s",
  config_name)
  