diff --git a/docs/source/pyhandleclientdb.rst b/docs/source/pyhandleclientdb.rst index 186a682..736ff7f 100644 --- a/docs/source/pyhandleclientdb.rst +++ b/docs/source/pyhandleclientdb.rst @@ -19,6 +19,7 @@ order to instantiate the DB client. .. code:: python + from pyhandle.handleclient import PyHandleClient client = PyHandleClient('db', credentials) The credentials can loaded from a file or passed as a dictionary to the PyHandleClient diff --git a/docs/source/pyhandleclientrest.rst b/docs/source/pyhandleclientrest.rst index 05b0d55..2e91b89 100644 --- a/docs/source/pyhandleclientrest.rst +++ b/docs/source/pyhandleclientrest.rst @@ -24,6 +24,7 @@ user credentials to use etc. Several different instantiation methods are availab .. code:: python + from pyhandle.handleclient import PyHandleClient client = PyHandleClient('rest').instantiate_...(...) @@ -60,6 +61,7 @@ Instantiation can be performed when specifying the client as follows: .. code:: python + from pyhandle.handleclient import PyHandleClient client = PyHandleClient('rest').instantiate_...() .. note:: diff --git a/pyhandle/__init__.py b/pyhandle/__init__.py index 3e563ed..e3c71a8 100644 --- a/pyhandle/__init__.py +++ b/pyhandle/__init__.py @@ -1,4 +1,4 @@ -__version__ = "1.0.1" +__version__ = "1.0.2-dev0" # The version as used in setup.py and docs/source/conf.py. diff --git a/pyhandle/handleclient.py b/pyhandle/handleclient.py index 254f0b7..5e5ce5d 100644 --- a/pyhandle/handleclient.py +++ b/pyhandle/handleclient.py @@ -62,7 +62,7 @@ def create_batch_file(self, overwrite=False): return self.handle_client.create_batch_file(overwrite) def instantiate_for_read_access(self, **config): - return self.handle_client.instantiate_for_read_access(config) + return self.handle_client.instantiate_for_read_access(**config) def instantiate_with_credentials(self, credentials, **config): return self.handle_client.instantiate_with_credentials(credentials, **config)