From 3323ea12b49dceb78df4a62fee66ca82ed6294e7 Mon Sep 17 00:00:00 2001 From: vermeul <swen@ethz.ch> Date: Sun, 8 Aug 2021 18:58:37 +0200 Subject: [PATCH] fix use_cache for sample and dataset --- pybis/src/python/pybis/pybis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pybis/src/python/pybis/pybis.py b/pybis/src/python/pybis/pybis.py index f9d3d85d87f..89096a412f9 100644 --- a/pybis/src/python/pybis/pybis.py +++ b/pybis/src/python/pybis/pybis.py @@ -4028,7 +4028,7 @@ class Openbis: if os.environ.get("OPENBIS_URL") == self.url: os.environ["OPENBIS_TOKEN"] = self.token - def get_dataset(self, permIds, only_data=False, props=None): + def get_dataset(self, permIds, only_data=False, props=None, **kvals): """fetch a dataset and some metadata attached to it: - properties - sample @@ -4252,7 +4252,7 @@ class Openbis: ) def get_sample( - self, sample_ident, only_data=False, withAttachments=False, props=None + self, sample_ident, only_data=False, withAttachments=False, props=None, **kvals ): """Retrieve metadata for the sample. Get metadata for the sample and any directly connected parents of the sample to allow access -- GitLab