[ARVADOS] updated: 2.1.0-1979-g13c8401a8

Git user git at public.arvados.org
Mon Feb 28 22:10:47 UTC 2022


Summary of changes:
 sdk/python/arvados/vocabulary.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

       via  13c8401a89d34cc412e76ade8f112a31b9988e4f (commit)
      from  062d4e06b5003f348e055314fffdef525b5403cb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 13c8401a89d34cc412e76ade8f112a31b9988e4f
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date:   Mon Feb 28 19:06:55 2022 -0300

    18574: Fixes doc test failure.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>

diff --git a/sdk/python/arvados/vocabulary.py b/sdk/python/arvados/vocabulary.py
index d51435f03..a8c03ebf3 100644
--- a/sdk/python/arvados/vocabulary.py
+++ b/sdk/python/arvados/vocabulary.py
@@ -8,9 +8,11 @@ from . import api
 
 _logger = logging.getLogger('arvados.vocabulary')
 
-def load_vocabulary(api_client=api('v1')):
+def load_vocabulary(api_client=None):
     """Load the Arvados vocabulary from the API.
     """
+    if api_client is None:
+        api_client = api('v1')
     return Vocabulary(api_client.vocabulary())
 
 class Vocabulary(object):

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list