From 0553576c818758d2af6560bafc80dc3dace17c9c Mon Sep 17 00:00:00 2001 From: c-holtermann Date: Mon, 20 Apr 2020 16:03:27 +0200 Subject: [PATCH] restructure info so that python help will display it --- bindings/python/app_utils.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bindings/python/app_utils.py b/bindings/python/app_utils.py index 82d809ce60..7af6799118 100644 --- a/bindings/python/app_utils.py +++ b/bindings/python/app_utils.py @@ -4,13 +4,14 @@ ## @file # @brief High level python wrapper for app-utils # @ingroup python_bindings +# +# further functions in _sw_app_utils that have not been included: +# _gnc_get_current_book is available through Session.get_book() +# _gnc_get_current_root_account is available through Book.get_root_account() + from gnucash import _sw_app_utils def gnc_get_current_session(): from gnucash import Session return Session(instance=_sw_app_utils.gnc_get_current_session()) - -# further functions in _sw_app_utils -# _gnc_get_current_book is availabe through Session.get_book() -# _gnc_get_current_root_account is available through Session.get_root_account()