diff --git a/pybis/src/python/pybis/pybis.py b/pybis/src/python/pybis/pybis.py
index f9d3d85d87f5e0a1d06a920a4f1fd6aaf14fb2cb..89096a412f92d028697a7bd4dc25ef244f025c11 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